diff --git a/src/main/java/com/gaotao/modules/warehouse/entity/dto/CreateHuRequestDto.java b/src/main/java/com/gaotao/modules/warehouse/entity/dto/CreateHuRequestDto.java index 1c4b11a..4ac9e5c 100644 --- a/src/main/java/com/gaotao/modules/warehouse/entity/dto/CreateHuRequestDto.java +++ b/src/main/java/com/gaotao/modules/warehouse/entity/dto/CreateHuRequestDto.java @@ -22,12 +22,13 @@ public class CreateHuRequestDto { private BigDecimal perPackageQty; // 单包装数量 private Integer packageCount; // 包装数 private String umid; // 单位 - + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date manufactureDate; // 生产日期 - + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date expiredDate; // 失效日期 - + private String remark; // 备注 + private BigDecimal height; // 高度 } diff --git a/src/main/java/com/gaotao/modules/warehouse/service/impl/IfsInventoryInitServiceImpl.java b/src/main/java/com/gaotao/modules/warehouse/service/impl/IfsInventoryInitServiceImpl.java index 0cc0908..460254f 100644 --- a/src/main/java/com/gaotao/modules/warehouse/service/impl/IfsInventoryInitServiceImpl.java +++ b/src/main/java/com/gaotao/modules/warehouse/service/impl/IfsInventoryInitServiceImpl.java @@ -88,7 +88,7 @@ public class IfsInventoryInitServiceImpl implements IfsInventoryInitService { handlingUnit.setSourceType("IFS_INIT"); handlingUnit.setOriginalQty(request.getPerPackageQty()); handlingUnit.setReceiveDate(ifsStock.getManufactureDate()); - + handlingUnit.setHeight(request.getHeight()); // 根据料号和单位计算长宽 BigDecimal width = null; BigDecimal length = null; @@ -231,7 +231,7 @@ public class IfsInventoryInitServiceImpl implements IfsInventoryInitService { handlingUnit.setSourceRef("其它入库"); handlingUnit.setOriginalQty(request.getPerPackageQty()); handlingUnit.setReceiveDate(new Date()); - + handlingUnit.setHeight(request.getHeight()); // 根据料号和单位计算长宽 BigDecimal width = null; BigDecimal length = null;