diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionSignforController.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionSignforController.java index 83ba58abb..8c39fd0a7 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionSignforController.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionSignforController.java @@ -31,6 +31,7 @@ import com.logpm.distribution.entity.DistributionSignforEntity; import com.logpm.distribution.excel.DistributionSignforExcel; import com.logpm.distribution.excel.DistributionSignforOwnExcel; import com.logpm.distribution.service.IDistributionAsyncService; +import com.logpm.distribution.service.IDistributionDeliveryListService; import com.logpm.distribution.service.IDistributionReservationService; import com.logpm.distribution.service.IDistributionSignforService; import com.logpm.distribution.service.impl.DistributionAddvalueServiceImpl; @@ -85,6 +86,8 @@ public class DistributionSignforController extends BladeController { private final IDistributionAsyncService distributionAsyncService; + private final IDistributionDeliveryListService distributionDeliveryListService; + /** * 签收管理 详情 */ @@ -307,7 +310,10 @@ public class DistributionSignforController extends BladeController { public R update(@Valid @RequestBody DistributionSignforDTO distributionSignfor) { R r= distributionSignforService.recheck(distributionSignfor.getId()); - + if (r.isSuccess()){ + //维护配送状态 + distributionDeliveryListService.maintenanceDeliveryInfo(distributionSignfor.getDeliveryId()); + } // return R.status(distributionSignforService.updateById(distributionSignfor)); return r; } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java index 4b5ce1413..402759b14 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java @@ -496,9 +496,6 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl