From 76b3b15ad8dd46335ed295b386146fba8ac5cba5 Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Tue, 14 Oct 2025 14:51:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E5=92=8C=E5=85=B6=E4=BB=96=E5=87=BA=E5=85=A5=E5=BA=93=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E5=8A=A0=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/warehouse/entity/dto/CreateHuRequestDto.java | 7 ++++--- .../service/impl/IfsInventoryInitServiceImpl.java | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) 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;