Commit f637d638 authored by KeYong's avatar KeYong

更新

parent 2ad17803
...@@ -2076,6 +2076,31 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste ...@@ -2076,6 +2076,31 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
} }
resultList.add(resultMap); resultList.add(resultMap);
}); });
} else {
Map<String, Object> map1 = new HashMap<>();
map1.put("name", SystemTypeEnum.fireWaterSys.getDesc());
map1.put("code", SystemTypeEnum.fireWaterSys.getCode());
map1.put("total", 0);
map1.put("alarmNum", 0);
resultList.add(map1);
Map<String, Object> map2 = new HashMap<>();
map2.put("name", SystemTypeEnum.fireCAFSSys.getDesc());
map2.put("code", SystemTypeEnum.fireCAFSSys.getCode());
map2.put("total", 0);
map2.put("alarmNum", 0);
resultList.add(map2);
Map<String, Object> map3 = new HashMap<>();
map3.put("name", SystemTypeEnum.fireAlarmSys.getDesc());
map3.put("code", SystemTypeEnum.fireAlarmSys.getCode());
map3.put("total", 0);
map3.put("alarmNum", 0);
resultList.add(map3);
Map<String, Object> map4 = new HashMap<>();
map4.put("name", SystemTypeEnum.fireONLSys.getDesc());
map4.put("code", SystemTypeEnum.fireONLSys.getCode());
map4.put("total", 0);
map4.put("alarmNum", 0);
resultList.add(map4);
} }
return resultList; return resultList;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment