From c742686502b9e8b96b195f63ed00d6d23b9ca710 Mon Sep 17 00:00:00 2001 From: lgh Date: Wed, 3 Aug 2022 00:18:12 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/mt/wms/empty/task/ScheduledTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/ScheduledTask.java b/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/ScheduledTask.java index 90300fa..ea9e059 100644 --- a/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/ScheduledTask.java +++ b/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/ScheduledTask.java @@ -542,7 +542,7 @@ public class ScheduledTask extends BaseService { if (kilnReadyIn||kilnAllowIn){ //因为readyIn在多用炉第一托盘下油后一直存在,到出炉为止.所以查询当前炉子在加工的任务,大于一条,则不再根据readyIn发起任务 List currTaskList = currTaskServiceBiz.list(new QueryWrapper() - .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){ continue; }