|
|
|
@ -213,6 +213,9 @@ public class ZbomNodeDataPushListener {
|
|
|
|
|
paramDTO.setNode(zbNode.getCode()); |
|
|
|
|
ZbFactoryNodeOrderEntity nodeOrderEntity = nodeOrderMap.get(departCode + platformOrderCode); |
|
|
|
|
ZbomNodeEnums currentNode = zbNode; |
|
|
|
|
if (ObjectUtil.isEmpty(nodeOrderEntity)) { |
|
|
|
|
nodeOrderEntity = new ZbFactoryNodeOrderEntity(); |
|
|
|
|
} |
|
|
|
|
// 如果是签收节点,需要判断是否为全部签收和部分签收
|
|
|
|
|
if (EnumUtil.equals(NodeEnums.CLERK_REVIEW, node)) { |
|
|
|
|
// 签收节点设置签收数量
|
|
|
|
@ -221,9 +224,7 @@ public class ZbomNodeDataPushListener {
|
|
|
|
|
|
|
|
|
|
// 签收环节上一个节点是在途,说明缺少一个送货抵达,需要补一个节点
|
|
|
|
|
if (ObjectUtil.isEmpty(nodeOrderEntity) || ObjectUtil.equal(nodeOrderEntity.getCurrentNode(), ZbomNodeEnums.INTRANSIT.getIndex())) { |
|
|
|
|
if (ObjectUtil.isEmpty(nodeOrderEntity)) { |
|
|
|
|
nodeOrderEntity = new ZbFactoryNodeOrderEntity(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 第一次签收,节点改为送货抵达
|
|
|
|
|
paramDTO.setNode(ZbomNodeEnums.DELIVERY_ARRIVAL.getCode()); |
|
|
|
|
currentNode = ZbomNodeEnums.DELIVERY_ARRIVAL; |
|
|
|
|