|
|
|
@ -533,7 +533,12 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
distributionSignfor.setExamineUserName(user.getNickName()); |
|
|
|
|
this.updatePicture(distributionSignforDTO); |
|
|
|
|
this.updateById(distributionSignfor); |
|
|
|
|
|
|
|
|
|
//修改预约单的签收状态和装车状态
|
|
|
|
|
DistributionReservationEntity reservationEntity = new DistributionReservationEntity(); |
|
|
|
|
reservationEntity.setId(distributionSignfor.getReservationId()); |
|
|
|
|
reservationEntity.setSigningStatus(ReservationSigningStatusConstant.yiqianshou.getValue()); |
|
|
|
|
reservationEntity.setLoadingStatus(ReservationLoadingStatusConstant.yizhuangche.getValue());; |
|
|
|
|
distributionReservationService.updateById(reservationEntity); |
|
|
|
|
distributionAsyncService.sendReviewFactory(distributionSignforDTO.getId(), myCurrentWarehouse.getName(), myCurrentWarehouse.getId()); |
|
|
|
|
//还需要对未装车未签收的包件进行状态的回退
|
|
|
|
|
boolean flag = this.judgmentSignIsHavePackage(distributionSignfor.getReservationId()); |
|
|
|
|