Browse Source

文员复核签收维护配送单状态

dev-pushdata-important
汤建军 1 year ago
parent
commit
8ed83ef6cc
  1. 8
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionSignforController.java
  2. 3
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java

8
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;
}

3
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java

@ -496,9 +496,6 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
if (!flag){
distributionAsyncService.releaseSource(distributionSignfor.getReservationId(), myCurrentWarehouse.getId());
}
//维护配送状态
distributionDeliveryListService.maintenanceDeliveryInfo(distributionSignfor.getDeliveryId());
return R.success("操作成功");
}

Loading…
Cancel
Save