|
|
|
@ -93,6 +93,10 @@ public class NodeDataPushListener {
|
|
|
|
|
// 3 拿到所有必推节点的code
|
|
|
|
|
List<Integer> mustPushCode = FactoryNodeEnums.getMustPushCode(); |
|
|
|
|
if (CollUtil.isNotEmpty(content)) { |
|
|
|
|
// 卸车扫描节点 判断是否是末端仓卸车,末端仓卸车推送的数据推送
|
|
|
|
|
if (NodeNeedEnums.UNLOAD_INCOMING_WAREHOUSE.getCode().equals(workNodeEnums.getCode())) { |
|
|
|
|
content = content.stream().filter(item -> ObjectUtil.equal(item.getWarehouseName(), item.getDestinationWarehouse())).collect(Collectors.toList()); |
|
|
|
|
} |
|
|
|
|
// 查询出本次操作的所有订单
|
|
|
|
|
Set<String> orderCodes = content.stream().map(PushData::getOrderCode).collect(Collectors.toSet()); |
|
|
|
|
if (CollUtil.isEmpty(orderCodes)) { |
|
|
|
|