mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-16 02:10:48 +08:00
queue count update
This commit is contained in:
parent
a045a5a2a7
commit
bbd2f2bd08
@ -356,9 +356,18 @@ public class DataAnalysisService {
|
||||
}
|
||||
}
|
||||
}
|
||||
Integer taskQueueCount = 0;
|
||||
Integer taskKillCount = 0;
|
||||
|
||||
if (tasksQueueIds.length != 0){
|
||||
taskQueueCount = taskInstanceMapper.countTask(loginUser.getId(),loginUser.getUserType(),projectId, tasksQueueIds);
|
||||
}
|
||||
|
||||
if (tasksQueueIds.length != 0){
|
||||
taskKillCount = taskInstanceMapper.countTask(loginUser.getId(),loginUser.getUserType(),projectId, tasksQueueIds);
|
||||
}
|
||||
|
||||
|
||||
Integer taskQueueCount = taskInstanceMapper.countTask(loginUser.getId(),loginUser.getUserType(),projectId, tasksQueueIds);
|
||||
Integer taskKillCount = taskInstanceMapper.countTask(loginUser.getId(),loginUser.getUserType(),projectId, tasksQueueIds);
|
||||
|
||||
dataMap.put("taskQueue",taskQueueCount);
|
||||
dataMap.put("taskKill",taskKillCount);
|
||||
|
Loading…
Reference in New Issue
Block a user