|
|
|
@ -4295,7 +4295,6 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
// 2、多个车次的配送任务进行一件签收状态、在没有进行装车操作的时候
|
|
|
|
|
//
|
|
|
|
|
// 3、对于已经装车的库存品或者包件在一件签收的时候需要进行过滤
|
|
|
|
|
|
|
|
|
|
this.updatePicture(distributionSignfor); |
|
|
|
|
//2、维护状态
|
|
|
|
|
DistributionReservationEntity reservationEntity = distributionReservationMapper.selectById(distributionSignfor.getReservationId()); |
|
|
|
@ -4707,16 +4706,15 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
DistributionSignforEntity signforEntity = this.getById(distributionSignforEntity.getId()); |
|
|
|
|
signforEntity.setLoadedNumber(signforEntity.getLoadedNumber() + loadingPackageNum ); |
|
|
|
|
signforEntity.setReceivedQuantity(signforEntity.getReceivedQuantity() + signingPackageNum ); |
|
|
|
|
signforEntity.setLoadedinNumber(signforEntity.getLoadedinNumber() + loadingInventoryNum ); |
|
|
|
|
signforEntity.setReceivedinQuantity(signforEntity.getReceivedinQuantity() + signingInventoryNum ); |
|
|
|
|
signforEntity.setReceivedinQuantity(signforEntity.getReceivedinQuantity() + signingInventoryNum ); |
|
|
|
|
distributionSignforEntity.setLoadedNumber(distributionSignforEntity.getLoadedNumber() + loadingPackageNum ); |
|
|
|
|
distributionSignforEntity.setReceivedQuantity(distributionSignforEntity.getReceivedQuantity() + signingPackageNum ); |
|
|
|
|
distributionSignforEntity.setLoadedinNumber(distributionSignforEntity.getLoadedinNumber() + loadingInventoryNum ); |
|
|
|
|
distributionSignforEntity.setReceivedinQuantity(distributionSignforEntity.getReceivedinQuantity() + signingInventoryNum ); |
|
|
|
|
distributionSignforEntity.setReceivedinQuantity(distributionSignforEntity.getReceivedinQuantity() + signingInventoryNum ); |
|
|
|
|
if (Func.isNotEmpty(distributionSignfor.getDriverRemarks())){ |
|
|
|
|
signforEntity.setDriverRemarks(distributionSignfor.getDriverRemarks()); |
|
|
|
|
distributionSignforEntity.setDriverRemarks(distributionSignfor.getDriverRemarks()); |
|
|
|
|
} |
|
|
|
|
this.updateById(signforEntity); |
|
|
|
|
this.updateById(distributionSignforEntity); |
|
|
|
|
// LambdaUpdateWrapper<DistributionSignforEntity> set = new UpdateWrapper<DistributionSignforEntity>().lambda()
|
|
|
|
|
//// .eq(DistributionSignforEntity::getId, distributionSignforEntity.getId())
|
|
|
|
|
//// .set(StringUtils.isNotBlank(distributionSignfor.getDeliverySignPictures()), DistributionSignforEntity::getDeliverySignPictures, distributionSignfor.getDeliverySignPictures())
|
|
|
|
|