Browse Source

初始化标签和其他出入库标签加高度

master
han\hanst 3 months ago
parent
commit
76b3b15ad8
  1. 7
      src/main/java/com/gaotao/modules/warehouse/entity/dto/CreateHuRequestDto.java
  2. 4
      src/main/java/com/gaotao/modules/warehouse/service/impl/IfsInventoryInitServiceImpl.java

7
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; // 高度
}

4
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;

Loading…
Cancel
Save