|
|
|
@ -650,7 +650,12 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
this.updatePicture(distributionSignforDTO); |
|
|
|
|
this.updateById(distributionSignfor); |
|
|
|
|
//修改预约单的签收状态和装车状态
|
|
|
|
|
DistributionReservationEntity reservationEntity = new DistributionReservationEntity(); |
|
|
|
|
//查询签收信息
|
|
|
|
|
DistributionReservationEntity reservationEntity = distributionReservationService.getById(distributionSignfor.getReservationId()); |
|
|
|
|
if (Func.isEmpty(reservationEntity)){ |
|
|
|
|
return R.fail("预约任务错误"); |
|
|
|
|
} |
|
|
|
|
// DistributionReservationEntity reservationEntity = new DistributionReservationEntity();
|
|
|
|
|
reservationEntity.setId(distributionSignfor.getReservationId()); |
|
|
|
|
reservationEntity.setSigningStatus(ReservationSigningStatusConstant.yiqianshou.getValue()); |
|
|
|
|
reservationEntity.setLoadingStatus(ReservationLoadingStatusConstant.yizhuangche.getValue()); |
|
|
|
|