|
@@ -147,15 +147,18 @@ public class AlarmFireServiceImpl extends AbstractCrudService<AlarmFireMapper, A
|
|
|
List<Integer> alarmCountList = new ArrayList<>();
|
|
|
List<Integer> handleCountList = new ArrayList<>();
|
|
|
List<String> alarmTimeList = new ArrayList<>();
|
|
|
+ List<String> handleRateList = new ArrayList<>();
|
|
|
for (int i = 0; i < list.size(); i++) {
|
|
|
alarmCountList.add(list.get(i).getCount());
|
|
|
handleCountList.add(list.get(i).getSum());
|
|
|
alarmTimeList.add(list.get(i).getAlarmTime());
|
|
|
+ handleRateList.add(OnlineMethod.myPercent(list.get(i).getSum(), list.get(i).getCount()));
|
|
|
}
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
map.put("alarmCountList", alarmCountList);
|
|
|
map.put("handleCountList", handleCountList);
|
|
|
map.put("alarmTimeList", alarmTimeList);
|
|
|
+ map.put("handleRateList", handleRateList);
|
|
|
return map;
|
|
|
}
|
|
|
|