修改 wms 库存管理 页面查询和打印

This commit is contained in:
zhaoqing
2026-04-14 22:21:15 +08:00
parent 76e82f635a
commit 6aee88748b
4 changed files with 227 additions and 46 deletions
@@ -12,6 +12,8 @@ import org.springframework.stereotype.Service;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
@Service
public class CopyCodeReferenceApplicationService {
@@ -34,9 +36,6 @@ public class CopyCodeReferenceApplicationService {
public List<CopyCodeReferencePO> queryWeightList(CopyCodeReferenceDTO dto) {
List<CopyCodeReferencePO> list = copyCodeReferenceDomainService.queryWeightList(dto);
for(int i = 0;i < list.size();i++) {
list.get(i).setSerialNumber(i+1);
}
return list;
}
@@ -14,13 +14,25 @@ import java.math.BigDecimal;
public class CopyCodeReferencePO extends BaseVOEntity {
private static final long serialVersionUID = 1L;
@ApiModelProperty("id")
private Integer id;
@ApiModelProperty("序号")
private Integer serialNumber;
@ApiModelProperty("仓库id")
@Excel(name = "仓库id")
private String warehouseId;
@ApiModelProperty("仓库")
@Excel(name = "仓库")
private String warehouseName;
@ApiModelProperty("物料基础信息ID")
private Integer materialBaseInfoId;
@ApiModelProperty("物料编码")
@Excel(name = "物料编码")
private String materialCode;
@@ -29,6 +41,9 @@ public class CopyCodeReferencePO extends BaseVOEntity {
@Excel(name = "物料名称")
private String materialName;
@ApiModelProperty("上架单物料明细ID")
private Integer materialDetailId;
@ApiModelProperty("入库单号")
@Excel(name = "入库单号")
private String inOrderNumber;
@@ -53,6 +68,21 @@ public class CopyCodeReferencePO extends BaseVOEntity {
@Excel(name = "净重(KG)")
private BigDecimal netWeight;
@ApiModelProperty("毛重(KG)")
@Excel(name = "毛重(KG)")
private BigDecimal grossWeight;
@ApiModelProperty("物料状态编码")
private Integer materialStatusCode;
@ApiModelProperty("组织ID")
@Excel(name = "组织ID")
private Integer organizationId;
@ApiModelProperty("一级组织ID")
@Excel(name = "一级组织ID")
private Integer topOrganizationId;
@ApiModelProperty("货主名称")
@Excel(name = "货主名称")
private String shipperName;
@@ -65,5 +95,7 @@ public class CopyCodeReferencePO extends BaseVOEntity {
@Excel(name = "物料状态")
private String materialStatusName;
@ApiModelProperty("物料状态")
@Excel(name = "物料状态")
private String materialInventoryId;
}