|
@@ -140,7 +140,16 @@ public class AlarmFireServiceImpl extends AbstractCrudService<AlarmFireMapper, A
|
|
|
}
|
|
|
//缺少维保单位部分代码
|
|
|
List<String> devcieCodeList = new ArrayList<>();
|
|
|
- List<AlarmFireStatisticalVo> list = baseMapper.selectAlarmFireStatistical(devcieCodeList, alarmTypeList, startDate, endDate);
|
|
|
+ List<Integer> alarmTypeListOne = new ArrayList<>();
|
|
|
+ Integer selectStatus = 0;
|
|
|
+ if (alarmTypeList.contains(100)){
|
|
|
+ selectStatus = 1;
|
|
|
+ alarmTypeListOne.add(2);
|
|
|
+ alarmTypeListOne.add(4);
|
|
|
+ }else {
|
|
|
+ alarmTypeListOne = alarmTypeList;
|
|
|
+ }
|
|
|
+ List<AlarmFireStatisticalVo> list = baseMapper.selectAlarmFireStatistical(devcieCodeList, alarmTypeListOne, startDate, endDate,selectStatus);
|
|
|
List<Integer> alarmCountList = new ArrayList<>();
|
|
|
List<Integer> handleCountList = new ArrayList<>();
|
|
|
List<String> alarmTimeList = new ArrayList<>();
|