Browse Source

feat(all): 诗尼曼工厂

1 修改重复包条码订单数量不正确的问题
pre-production
zhaoqiaobo 3 weeks ago
parent
commit
80b9483674
  1. 2
      blade-service/logpm-factory/src/main/java/com/logpm/factory/jobhandler/FactoryXxlJob.java

2
blade-service/logpm-factory/src/main/java/com/logpm/factory/jobhandler/FactoryXxlJob.java

@ -552,6 +552,7 @@ public class FactoryXxlJob {
packageList.add(entries);
}
// 转成json对象,然后将包件明细放到detail中
advanceEntity.setTotalNum(CollUtil.isNotEmpty(packageList) ? packageList.size() : 0);
cn.hutool.json.JSONObject entries = JSONUtil.parseObj(advanceEntity);
entries.set("details", JSONUtil.toJsonStr(packageList));
advances.add(entries);
@ -561,7 +562,6 @@ public class FactoryXxlJob {
staorderPackagesService.updateById(it);
});
}
advanceEntity.setTotalNum(CollUtil.isNotEmpty(orderPackageSet) ? orderPackageSet.size() : 0);
});
// 将组装好的暂存单发送到 MQ ,由暂存单服务统一消费SendMsg.

Loading…
Cancel
Save