diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/MJXLTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/MJXLTask.java index 3eacb4c..6b52689 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/MJXLTask.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/MJXLTask.java @@ -243,7 +243,7 @@ public class MJXLTask extends AbstractTask { groupEntity.setIs_delete(false); groupEntity.setMove_way(startPoint); vehiclematerialgroupService.save(groupEntity); - // 任务完成 + // 任务完成自动生成补空架任务 taskObj.setTask_status(TaskStatus.FINISHED.getCode()); taskObj.setGroup_id(groupEntity.getGroup_id()); taskObj.setRemark("任务完成"); 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 c7af0b0..c2de953 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 @@ -85,7 +85,7 @@ public class GHSQHTask extends AbstractTask { SchBasePoint schBasePoint = null; //按顺序查找第一个符合条件的固化室位置,发起任务 for (SchBasePoint schBasePoint1 : schBasePointList) { - if (schBasePoint1.getVehicle_qty() == 3 && ObjectUtil.isEmpty(schBasePoint1.getIng_task_code())) { + if (schBasePoint1.getVehicle_qty() >0 && ObjectUtil.isEmpty(schBasePoint1.getIng_task_code())) { schBasePoint = schBasePoint1; break; }