diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/feign/BasicdataTrayClient.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/feign/BasicdataTrayClient.java index 8abf71c72..19344b550 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/feign/BasicdataTrayClient.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/feign/BasicdataTrayClient.java @@ -80,7 +80,7 @@ public class BasicdataTrayClient implements IBasicdataTrayClient { updateWrapper.set("tray_status",trayStatus) .eq("id",trayId) .eq("is_deleted",0); - basicdataTrayService.update(updateWrapper); + basicdataTrayService.update(updateWrapper ); } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml index 2bcae3292..f029bb51b 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionParcelListMapper.xml @@ -776,12 +776,13 @@ ldpl.material_name materialName, ldpl.order_package_status orderPackageStatus, lwug.position_code goodsAllocation, - lwtg.tray_code pallet + lwt.pallet_name pallet FROM logpm_distribution_parcel_list ldpl JOIN logpm_distribution_stock_article ldsa ON ldpl.stock_article_id = ldsa.id LEFT JOIN logpm_warehouse_updown_goods lwug ON lwug.association_id = ldpl.id left join logpm_warehouse_tray_goods lwtg on lwtg.association_id = ldpl.id + left join logpm_warehouse_tray lwt on lwtg.tray_id = lwt.id ldsa.is_deleted = 0 AND ldpl.conditions =1 @@ -831,7 +832,7 @@ ldpl.material_name AS descriptionGoods, ldpl.order_package_status AS orderPackageStatus, ldpl.conditions, - lwtg.tray_code AS trayCode, + lwtg.pallet_name AS trayCode, lwug.position_code AS positionCode , ldsa.mall_name as marketName from @@ -840,6 +841,7 @@ LEFT JOIN logpm_warehouse_updown_goods lwug ON ldpl.id = lwug.association_id LEFT JOIN logpm_warehouse_tray_goods lwtg ON lwtg.association_id = ldpl.id + LEFT JOIN logpm_warehouse_tray lwt ON lwtg.tray_id = lwt.id ldpl.stock_article_id = #{id} and ldpl.conditions =2 diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml index 04df06d0f..bca20f3a3 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml @@ -866,7 +866,7 @@ from logpm_distribution_reservation_package ldrp LEFT JOIN logpm_warehouse_updown_goods lwug on lwug.association_id = ldrp.parce_list_id where ldrp.reservation_id = ldsi.reservation_id - ) goodsAllocation,ldr.stock_status stockStatus, + ) goodsAllocation,ldr.stockup_status stockStatus, ldr.reservation_num reservationNum, ldr.reservation_stock_list_num reservationStockListNum from logpm_distribution_reservation ldr diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java index 3aec8d3e9..db4f47d88 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java @@ -1712,7 +1712,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { int i = billLadingEntity.getStockOrderQuantity() + billLadingEntity.getReserveQuantity() + 1; if (i >= z) { //备货完成 - billLadingEntity1.setStockStatus("3"); + billLadingEntity1.setStockStatus(ReservationStockupStatusConstant.yibeihuo.getValue()); billLadingEntity1.setEndTimeStocking(new Date()); DistributionStockupInfoEntity stockupInfoEntity = new DistributionStockupInfoEntity(); @@ -1759,7 +1759,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { int i = distributionReservationEntity.getReservationNum() + distributionReservationEntity.getReservationStockListNum();//预约数量 int i1 = distributionReservationEntity.getStockOrderQuantity() + distributionReservationEntity.getReserveQuantity() + 1;//备货数量 if (i1 >= i) { - reservationEntity.setStockStatus("3"); + reservationEntity.setStockStatus("4"); reservationEntity.setEndTimeStocking(new Date()); DistributionStockupInfoEntity stockupInfoEntity = new DistributionStockupInfoEntity(); stockupInfoEntity.setId(distributionStockupInfoEntity.getId()); diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java index 97cf9e804..e406c8d9e 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java @@ -1662,13 +1662,13 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl