refactor(出库计划): 类型修改

This commit is contained in:
Kelvin 2025-01-05 20:31:30 +08:00
parent e4766cef52
commit 75a60fc4e1

View File

@ -314,7 +314,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
// 构建出库计划 // 构建出库计划
WmsOutPlan wmsOutPlan = new WmsOutPlan(); WmsOutPlan wmsOutPlan = new WmsOutPlan();
wmsOutPlan.setPlanCode(Long.toString(System.currentTimeMillis(), 32).toUpperCase(Locale.ROOT)); wmsOutPlan.setPlanCode(Long.toString(System.currentTimeMillis(), 32).toUpperCase(Locale.ROOT));
wmsOutPlan.setWmsBusinessTypeId(this.wmsBusinessTypeMapper.selectWmsBusinessTypeByCode("CK04").getTypeId() != null ? Long.parseLong(this.wmsBusinessTypeMapper.selectWmsBusinessTypeByCode("CK04").getTypeId()) : 14L); wmsOutPlan.setWmsBusinessTypeId(this.wmsBusinessTypeMapper.selectWmsBusinessTypeByCode("CK04").getTypeId() != null ? this.wmsBusinessTypeMapper.selectWmsBusinessTypeByCode("CK04").getTypeId() : 14L);
wmsOutPlan.setPlanState("1"); wmsOutPlan.setPlanState("1");
wmsOutPlan.setPlanType("SGLR"); wmsOutPlan.setPlanType("SGLR");
wmsOutPlan.setRemark("一键清退无寿命物品"); wmsOutPlan.setRemark("一键清退无寿命物品");