Commit 8ebcb69d by 谢海旭

Merge remote-tracking branch 'origin/v5.8.1' into v5.8.1

2 parents 76058c8e a3778e1f
...@@ -1213,8 +1213,10 @@ public class SupervisorTaskInfoService { ...@@ -1213,8 +1213,10 @@ public class SupervisorTaskInfoService {
} }
Map<Integer, Integer> map = new HashMap<>(); Map<Integer, Integer> map = new HashMap<>();
for (Map<String, Object> row : list) { for (Map<String, Object> row : list) {
Integer taskType = (Integer) row.get("taskType"); Number taskTypeNum = (Number) row.get("taskType");
Long count = (Long) row.get("count"); Number countNum = (Number) row.get("count");
Integer taskType = taskTypeNum != null ? taskTypeNum.intValue() : null;
Long count = countNum != null ? countNum.longValue() : null;
if (taskType != null) { if (taskType != null) {
map.put(taskType, count != null ? count.intValue() : 0); map.put(taskType, count != null ? count.intValue() : 0);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!