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