From d14d1424723c370f91579cc8e54e5c3984049035 Mon Sep 17 00:00:00 2001 From: lgh Date: Wed, 22 Feb 2023 08:40:56 +0800 Subject: [PATCH] update: --- .../java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6.program/wms-empty/src/main/java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java b/6.program/wms-empty/src/main/java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java index 35e96aa..3989b6c 100644 --- a/6.program/wms-empty/src/main/java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java +++ b/6.program/wms-empty/src/main/java/com/mt/wms/empty/service/impl/CurrTaskServiceImpl.java @@ -702,7 +702,7 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService if (currTask.getStatus() != 0) { return R.failed("该任务状态不为未执行,无法执行!"); } - if (currTask.getCacheSatatus()==2||currTask.getIsCache()==1){ + if (currTask.getCacheSatatus()==2&&currTask.getIsCache()==1){ return R.failed("该任务已在缓存队列,状态不为未执行,无法执行!"); } //是否为自动任务