Browse Source

feat(all): 志邦工厂

1 增加签收扫描回传志邦工厂签收节点
fix-sign
zhaoqiaobo 5 months ago
parent
commit
a797f11197
  1. 6
      blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/mq/ZbomNodeDataPushListener.java

6
blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/mq/ZbomNodeDataPushListener.java

@ -269,7 +269,11 @@ public class ZbomNodeDataPushListener {
nodeOrderEntity = new ZbFactoryNodeOrderEntity();
}
// 如果是签收节点,需要判断是否为全部签收和部分签收
if (EnumUtil.equals(WorkNodeEnums.CLERK_REVIEW, node) || EnumUtil.equals(WorkNodeEnums.SIGN_TRIPARTITE_TRANSFER_DEPART, node) || EnumUtil.equals(WorkNodeEnums.SIGN_DIRECT_SHIPPER, node)) {
if (EnumUtil.equals(WorkNodeEnums.CLERK_REVIEW, node)
|| EnumUtil.equals(WorkNodeEnums.SIGN_TRIPARTITE_TRANSFER_DEPART, node)
|| EnumUtil.equals(WorkNodeEnums.SIGN_DIRECT_SHIPPER, node)
|| EnumUtil.equals(WorkNodeEnums.DISTRIBUTION_SIGN_FOR, node)
) {
// 签收节点设置签收数量
Integer signNumber = Convert.toInt(nodeData.getSignQty());
log.info("key:{},签收数量:{}", departCode + "_" + platformOrderCode, signNumber);

Loading…
Cancel
Save