|
|
|
@ -6042,6 +6042,9 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
JSONObject js = handleLogJSONObject(myCurrentWarehouse, AuthUtil.getUser(), parcelListEntity.getOrderPackageCode(), content, WorkNodeEnums.CANCEL_DISTRIBUTION.getCode()); |
|
|
|
|
aaa.add(js); |
|
|
|
|
|
|
|
|
|
//对滞留包件进行签收信息数量减少
|
|
|
|
|
distributionSignforMapper.deductionLoadingPacjageNum(reservationId,deliveryId,1); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
if (!aaa.isEmpty()) { |
|
|
|
|
trunklinePackageTrackLogClient.addPackageTrackLog(aaa); |
|
|
|
@ -7243,7 +7246,7 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
|
|
|
|
|
// 根据装载数量是否等于配送数量且所有配送是否已完成签收,设置配送状态
|
|
|
|
|
// 如果装载数量等于配送数量且所有配送已完成签收,设置为“已完成”;否则设置为“配送中”
|
|
|
|
|
deliveryListEntity.setDeliveryStatus(loadingNum == deliveryQuantity && isAllSignforCompleted(deliveryListEntity.getId()) |
|
|
|
|
deliveryListEntity.setDeliveryStatus(isAllSignforCompleted(deliveryListEntity.getId()) |
|
|
|
|
? DeliveryStatusConstant.yiwancheng.getValue() |
|
|
|
|
: DeliveryStatusConstant.peisongzhong.getValue()); |
|
|
|
|
|
|
|
|
|