Browse Source

feat(all): 配送明细报表

1 优化配送明细广播推送
pre-production
zhaoqiaobo 3 months ago
parent
commit
8910fbf99c
  1. 10
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java

10
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java

@ -10724,11 +10724,11 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
Boolean b1=DeliveryStatusConstant.yiwancheng.getValue().equals(deliveryListEntity.getDeliveryStatus());
Boolean b2 =deliveryListEntity.getScannedNumber().equals(0);
// 推送给配送被取消的的作业节点
if (b1&& b2) {
// 发送配送取消的消息完成消息
NodeFanoutMsg<DistributionTaskVO> distributionTaskVONodeFanoutMsg = buildNodeFanoutMsgForPlan(deliveryListEntity, AuthUtil.getUser(), BizOperationEnums.DELETE);
distributionNodeWorkService.planDelivery(distributionTaskVONodeFanoutMsg, AuthUtil.getUser());
}
// if (b1&& b2) {
// // 发送配送取消的消息完成消息
// NodeFanoutMsg<DistributionTaskVO> distributionTaskVONodeFanoutMsg = buildNodeFanoutMsgForPlan(deliveryListEntity, AuthUtil.getUser(), BizOperationEnums.DELETE);
// distributionNodeWorkService.planDelivery(distributionTaskVONodeFanoutMsg, AuthUtil.getUser());
// }

Loading…
Cancel
Save