抄码商品拣货存入id

This commit is contained in:
zhou-hongcheng
2026-04-16 13:31:23 +08:00
parent 5943463064
commit ea4ee08353
4 changed files with 11 additions and 0 deletions
@@ -529,4 +529,8 @@ public class OutMaterialDetailPO extends StockOutOrderBaseDO {
@ApiModelProperty("抄码总重量") @ApiModelProperty("抄码总重量")
@Excel(name = "抄码总重量") @Excel(name = "抄码总重量")
private BigDecimal copyTotalWeight; private BigDecimal copyTotalWeight;
@ApiModelProperty("抄码id数组 逗号分隔")
@Excel(name = "抄码id数组")
private String copyCodeReferenceIds;
} }
@@ -291,4 +291,8 @@ public class PickingMaterialDetailDO extends BaseVOEntity {
@ApiModelProperty("贴标费") @ApiModelProperty("贴标费")
@Excel(name = "贴标费") @Excel(name = "贴标费")
private BigDecimal stickerFee; private BigDecimal stickerFee;
@ApiModelProperty("抄码id数组 逗号分隔")
@Excel(name = "抄码id数组")
private String copyCodeReferenceIds;
} }
@@ -658,6 +658,7 @@ public class StockOutOrderDomainService {
//判断是否是抄码商品净重 //判断是否是抄码商品净重
if (outMaterialDetailPO.getCopyTotalWeight() != null){ if (outMaterialDetailPO.getCopyTotalWeight() != null){
pickingMaterialDetailDO.setTotalNetWeight(outMaterialDetailPO.getCopyTotalWeight()); pickingMaterialDetailDO.setTotalNetWeight(outMaterialDetailPO.getCopyTotalWeight());
pickingMaterialDetailDO.setCopyCodeReferenceIds(outMaterialDetailPO.getCopyCodeReferenceIds());
}else { }else {
pickingMaterialDetailDO.setTotalNetWeight(outMaterialDetailPO.getTotalNetWeight()); pickingMaterialDetailDO.setTotalNetWeight(outMaterialDetailPO.getTotalNetWeight());
} }
@@ -95,6 +95,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="stockUnit" column="stock_unit" /> <result property="stockUnit" column="stock_unit" />
<result property="stockQuantity" column="stock_quantity" /> <result property="stockQuantity" column="stock_quantity" />
<result property="copyTotalWeight" column="COPY_TOTAL_WEIGHT" /> <result property="copyTotalWeight" column="COPY_TOTAL_WEIGHT" />
<result property="copyCodeReferenceIds" column="COPY_CODE_REFERENCE_IDS" />
</resultMap> </resultMap>
@@ -147,6 +148,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.EXT_ATTR_3, a.EXT_ATTR_3,
a.EXT_ATTR_4, a.EXT_ATTR_4,
a.COPY_TOTAL_WEIGHT, a.COPY_TOTAL_WEIGHT,
a.COPY_CODE_REFERENCE_IDS,
a.INVENTORY_QUANTITY a.INVENTORY_QUANTITY
</sql> </sql>