Browse Source

feat(all): 诗尼曼工厂

1 修改重复包条码订单数量不正确的问题
pre-production
zhaoqiaobo 3 months ago
parent
commit
7f2ddbbca1
  1. 6
      blade-biz-common/src/main/java/org/springblade/common/constant/PackagesTypeEnum.java
  2. 4
      blade-service/logpm-factory/src/main/java/com/logpm/factory/jobhandler/FactoryXxlJob.java

6
blade-biz-common/src/main/java/org/springblade/common/constant/PackagesTypeEnum.java

@ -14,7 +14,11 @@ public enum PackagesTypeEnum {
LK("LK","柜门"),
XS("XS","柜门"),
PM("PM","柜门"),
QM("QM","柜门");
QM("QM","柜门"),
// FX("FX","辅异型板批次"),
// FH("FH","辅异型板6批次"),
// FZ("FZ","辅杂板批次")
;
private String typeCode;

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

@ -471,7 +471,7 @@ public class FactoryXxlJob {
advanceEntity.setBrand(BrandEnums.SNM.getValue());
advanceEntity.setSiteName(siteName);
advanceEntity.setArea("");
advanceEntity.setTotalNum(CollUtil.isNotEmpty(staorderPackagesList) ? staorderPackagesList.size() : 0);
advanceEntity.setPackName("");
advanceEntity.setPackCode("");
advanceEntity.setWarehouseId(startWarehouseId);
@ -561,7 +561,9 @@ public class FactoryXxlJob {
staorderPackagesService.updateById(it);
});
}
advanceEntity.setTotalNum(CollUtil.isNotEmpty(orderPackageSet) ? orderPackageSet.size() : 0);
});
// 将组装好的暂存单发送到 MQ ,由暂存单服务统一消费SendMsg.
if (CollUtil.isNotEmpty(advances)) {
for (cn.hutool.json.JSONObject advance : advances) {

Loading…
Cancel
Save