diff --git a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/UpShelfDataVO.java b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/UpShelfDataVO.java index 6624dbc7a..4b84ab3fc 100644 --- a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/UpShelfDataVO.java +++ b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/UpShelfDataVO.java @@ -21,5 +21,6 @@ public class UpShelfDataVO implements Serializable { private String materialName;//物料名称 private String incomingBatch;//批次号 private Integer goodsType;//货物类型 + private Integer conditions;//1 订制品 2库存品 } diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseTrayTypeServiceImpl.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseTrayTypeServiceImpl.java index 18d2bfcb1..4ae44fe00 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseTrayTypeServiceImpl.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseTrayTypeServiceImpl.java @@ -418,10 +418,10 @@ public class WarehouseTrayTypeServiceImpl extends BaseServiceImpl ls = new ArrayList<>(); + List parcelNumberList = new ArrayList<>(); for (WarehouseWayBillDetail warehouseWayBillDetail : details) { DistributionParcelListEntity entity = new DistributionParcelListEntity(); entity.setFirsts(warehouseWayBillDetail.getProductName()); @@ -278,20 +278,15 @@ public class WarehouseWaybillServiceImpl extends BaseServiceImpl parcelNumberList = new ArrayList<>(); - for (DistributionParcelListEntity entity:ls){ DistributionParcelNumberEntity parcelNumberEntity = new DistributionParcelNumberEntity(); parcelNumberEntity.setStockArticleId(id); - parcelNumberEntity.setParcelListId(entity.getId()); + parcelNumberEntity.setParcelListId(aLong); + parcelNumberEntity.setTenantId("627683"); + parcelNumberEntity.setCreateUser(distributionStockArticleEntity.getCreateUser()); + parcelNumberEntity.setUpdateUser(distributionStockArticleEntity.getCreateUser()); + parcelNumberEntity.setCreateDept(distributionStockArticleEntity.getCreateDept()); if(totalCount.equals(stockCount)){ parcelNumberEntity.setHandQuantity(entity.getQuantity()); }else{ @@ -302,9 +297,11 @@ public class WarehouseWaybillServiceImpl extends BaseServiceImpl