diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/BPSLTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/BPSLTask.java index 51f32d4..a74a618 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/BPSLTask.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/BPSLTask.java @@ -90,7 +90,7 @@ public class BPSLTask extends AbstractTask { // 设置起点并修改创建成功状态 // 取料先去等待点 task.setTask_type("3"); - task.setPoint_code1(point.getStart_wait_point()); + task.setPoint_code1(point.getNext_wait_point()); task.setTask_status(TaskStatus.CREATED.getCode()); task.setRemark(""); taskService.update(task); @@ -240,7 +240,7 @@ public class BPSLTask extends AbstractTask { SchBasePoint point = this.findNextPoint(jsonObject,schBaseTask); //正极板现在不堆叠 if( "1".equals(jsonObject.getString("material_type"))) { - schBaseTask.setPoint_code1(point.getPoint_code()); + schBaseTask.setPoint_code1(point.getPoint_code()+"0"+(point.getVehicle_qty())); }else{ schBaseTask.setPoint_code1(point.getPoint_code().replace("HCQ","QHQ")); } 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 726a4e8..c7af0b0 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 @@ -102,7 +102,7 @@ public class GHSQHTask extends AbstractTask { return; } // 放料先去等待点 - this.createTask(schBasePoint, nextPoint.getNext_wait_point()); + this.createTask(schBasePoint, nextPoint.getStart_wait_point()); }