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

This commit is contained in:
psh
2024-01-24 16:34:06 +08:00
parent f1a96f4ad9
commit 7245a34028
2 changed files with 2 additions and 2 deletions

View File

@@ -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("任务完成");

View File

@@ -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;
}