From 7245a34028c580acf62b1b7d5d28ca338e865c8d Mon Sep 17 00:00:00 2001 From: psh Date: Wed, 24 Jan 2024 16:34:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BA=E5=8C=96=E5=AE=A4=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E9=9D=9E=E6=BB=A1=E6=8B=96=E6=83=85=E5=86=B5=EF=BC=8C=E5=85=81?= =?UTF-8?q?=E8=AE=B8=E5=87=BA=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/nl/wms/sch/task_manage/task/tasks/MJXLTask.java | 2 +- .../org/nl/wms/sch/task_manage/task/tasks/ghs/GHSQHTask.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }