parent
227dd3e1b1
commit
6d81a541d8
|
@ -731,7 +731,7 @@ public class DisposeNodeInfoController {
|
||||||
taskData.setStatus(ErrorCode.ERR_OK.getCode());
|
taskData.setStatus(ErrorCode.ERR_OK.getCode());
|
||||||
taskData.setMessage(ErrorCode.ERR_OK.getMsg());
|
taskData.setMessage(ErrorCode.ERR_OK.getMsg());
|
||||||
|
|
||||||
List<TaskInfoDetail> runTasks = taskService.getNodeAllRunningTask(v.getId());
|
List<TaskInfoDetail> runTasks = taskService.getNodeAllTask(v.getId());
|
||||||
|
|
||||||
if (runTasks == null || runTasks.size() == 0) {
|
if (runTasks == null || runTasks.size() == 0) {
|
||||||
taskData.setStatus(ErrorCode.ERR_NOSUCHTASK.getCode());
|
taskData.setStatus(ErrorCode.ERR_NOSUCHTASK.getCode());
|
||||||
|
|
Loading…
Reference in New Issue