From 71570bc8ed8550dba0b57e36c596582bcd4f7dff Mon Sep 17 00:00:00 2001 From: psh Date: Fri, 29 Dec 2023 13:34:58 +0800 Subject: [PATCH] fix --- .../org/nl/wms/sch/task_manage/task/tasks/ghs/GHSQHTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/ghs/GHSQHTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/ghs/GHSQHTask.java index 7e02edd..cf257fd 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/ghs/GHSQHTask.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/ghs/GHSQHTask.java @@ -146,7 +146,7 @@ public class GHSQHTask extends AbstractTask { task.setTask_status(TaskStatus.APPLY.getCode()); task.setWorkshop_code(taskConfig.getWorkshop_code()); // 车间编码 //首位01或06生成任务需要补01,例如GHS0101下发需要改成GHS010101 - if(task.getPoint_code1().endsWith("01")||task.getPoint_code1().endsWith("06")) { + if(schBasePoint.getPoint_code().endsWith("01")||schBasePoint.getPoint_code().endsWith("06")) { task.setPoint_code1(task.getPoint_code1()+"01"); } task.setPoint_code2(endPoint);