Browse Source

Merge pull request #145 from qiaozhanwei/dev-20190415

task queue count update
pull/2/head
乔占卫 6 years ago committed by GitHub
parent
commit
c71e1521fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      escheduler-api/src/main/java/cn/escheduler/api/service/DataAnalysisService.java

4
escheduler-api/src/main/java/cn/escheduler/api/service/DataAnalysisService.java

@ -370,8 +370,8 @@ public class DataAnalysisService {
taskQueueCount = taskInstanceMapper.countTask(loginUser.getId(),loginUser.getUserType(),projectId, tasksQueueIds); taskQueueCount = taskInstanceMapper.countTask(loginUser.getId(),loginUser.getUserType(),projectId, tasksQueueIds);
} }
if (tasksQueueIds.length != 0){ if (tasksKillIds.length != 0){
taskKillCount = taskInstanceMapper.countTask(loginUser.getId(),loginUser.getUserType(),projectId, tasksQueueIds); taskKillCount = taskInstanceMapper.countTask(loginUser.getId(),loginUser.getUserType(),projectId, tasksKillIds);
} }

Loading…
Cancel
Save