This commit is contained in:
lgh 2023-02-22 08:40:56 +08:00
parent 571cee49a0
commit d14d142472

View File

@ -702,7 +702,7 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService
if (currTask.getStatus() != 0) { if (currTask.getStatus() != 0) {
return R.failed("该任务状态不为未执行,无法执行!"); return R.failed("该任务状态不为未执行,无法执行!");
} }
if (currTask.getCacheSatatus()==2||currTask.getIsCache()==1){ if (currTask.getCacheSatatus()==2&&currTask.getIsCache()==1){
return R.failed("该任务已在缓存队列,状态不为未执行,无法执行!"); return R.failed("该任务已在缓存队列,状态不为未执行,无法执行!");
} }
//是否为自动任务 //是否为自动任务