Browse Source

固化室存在非满拖情况,允许出库

master
psh 10 months ago
parent
commit
7245a34028
  1. 2
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/MJXLTask.java
  2. 2
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/ghs/GHSQHTask.java

2
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.setIs_delete(false);
groupEntity.setMove_way(startPoint); groupEntity.setMove_way(startPoint);
vehiclematerialgroupService.save(groupEntity); vehiclematerialgroupService.save(groupEntity);
// 任务完成 // 任务完成自动生成补空架任务
taskObj.setTask_status(TaskStatus.FINISHED.getCode()); taskObj.setTask_status(TaskStatus.FINISHED.getCode());
taskObj.setGroup_id(groupEntity.getGroup_id()); taskObj.setGroup_id(groupEntity.getGroup_id());
taskObj.setRemark("任务完成"); taskObj.setRemark("任务完成");

2
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; SchBasePoint schBasePoint = null;
//按顺序查找第一个符合条件的固化室位置,发起任务 //按顺序查找第一个符合条件的固化室位置,发起任务
for (SchBasePoint schBasePoint1 : schBasePointList) { 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; schBasePoint = schBasePoint1;
break; break;
} }

Loading…
Cancel
Save