This commit is contained in:
李广豪 2022-08-03 00:22:37 +08:00
commit 41227ec816

View File

@ -542,7 +542,7 @@ public class ScheduledTask extends BaseService {
if (kilnReadyIn||kilnAllowIn){ if (kilnReadyIn||kilnAllowIn){
//因为readyIn在多用炉第一托盘下油后一直存在,到出炉为止.所以查询当前炉子在加工的任务,大于一条,则不再根据readyIn发起任务 //因为readyIn在多用炉第一托盘下油后一直存在,到出炉为止.所以查询当前炉子在加工的任务,大于一条,则不再根据readyIn发起任务
List<CurrTask> currTaskList = currTaskServiceBiz.list(new QueryWrapper<CurrTask>() List<CurrTask> currTaskList = currTaskServiceBiz.list(new QueryWrapper<CurrTask>()
.eq(CurrTask.KILN_ID, kilnInfo.getId()).eq(CurrTask.IS_IN, 1)); .eq(CurrTask.KILN_ID, kilnInfo.getId()).eq(CurrTask.IS_IN, 1).eq(CurrTask.STATUS,1));
if (currTaskList.size()>1){ if (currTaskList.size()>1){
continue; continue;
} }