Compare commits
No commits in common. "9d8b6c065fcff85c546bf75ea675a57a61db5030" and "ef0ba777155df5fa52e75e05ad153051d4ad2099" have entirely different histories.
9d8b6c065f
...
ef0ba77715
@ -530,9 +530,6 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService
|
|||||||
@Override
|
@Override
|
||||||
public R runTask(Long taskId) throws InterruptedException, IOException {
|
public R runTask(Long taskId) throws InterruptedException, IOException {
|
||||||
CurrTask currTask = currTaskServiceBiz.getById(taskId);
|
CurrTask currTask = currTaskServiceBiz.getById(taskId);
|
||||||
if (currTask.getStatus()!=0){
|
|
||||||
return R.failed("该任务状态不为未执行,无法执行!");
|
|
||||||
}
|
|
||||||
//是否为自动任务
|
//是否为自动任务
|
||||||
if (currTask.getIsAuto()==1){
|
if (currTask.getIsAuto()==1){
|
||||||
List<AutoExeTask> exeTaskList = autoExeTaskServiceBiz.list(new QueryWrapper<AutoExeTask>().eq(AutoExeTask.F_TASK_ID, taskId));
|
List<AutoExeTask> exeTaskList = autoExeTaskServiceBiz.list(new QueryWrapper<AutoExeTask>().eq(AutoExeTask.F_TASK_ID, taskId));
|
||||||
|
Loading…
Reference in New Issue
Block a user