Browse Source

复核签收BUG修复

master
汤建军 9 months ago
parent
commit
9b6b4eace3
  1. 7
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java

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

@ -650,7 +650,12 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
this.updatePicture(distributionSignforDTO); this.updatePicture(distributionSignforDTO);
this.updateById(distributionSignfor); 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.setId(distributionSignfor.getReservationId());
reservationEntity.setSigningStatus(ReservationSigningStatusConstant.yiqianshou.getValue()); reservationEntity.setSigningStatus(ReservationSigningStatusConstant.yiqianshou.getValue());
reservationEntity.setLoadingStatus(ReservationLoadingStatusConstant.yizhuangche.getValue()); reservationEntity.setLoadingStatus(ReservationLoadingStatusConstant.yizhuangche.getValue());

Loading…
Cancel
Save