refactor: 台账

This commit is contained in:
Kelvin 2024-11-26 15:00:35 +08:00
parent 773a0e75bc
commit 54b7964a79

View File

@ -596,7 +596,7 @@ public class BaseKnifeController extends BaseController {
productionArrangements.setCreateTime(DateUtils.getNowDate());
productionArrangementsMapper.insertProductionArrangements(productionArrangements);
if (!msg.contains("缺少物料已生成组装任务!")){
if (!msg.contains("缺少物料已生成组装任务!")) {
// 生成出库计划单
WmsOutPlan outPlan = new WmsOutPlan();
outPlan.setPlanCode(productionArrangements.getPlanSheet());
@ -905,7 +905,8 @@ public class BaseKnifeController extends BaseController {
wmsInPlanTemp.setCellCode(zdTask.getAttr3());
wmsInPlanTemp.setPlanCode(zdTask.getAttr4() == null ? zdTask.getCode() : zdTask.getAttr4());
wmsInPlanTemp.setRelBillCode("组装单据");
wmsInPlanTemp.setPlanTypeId("13");
wmsInPlanTemp.setPlanTypeId(13L);
wmsInPlanTemp.setPlanTypeCode("ZDRK");
wmsInPlanTemp.setCreateBy(getUsername());
wmsInPlanTemp.setCreateTime(DateUtils.getNowDate());