Commit cc78ea6b authored by 王晓倩's avatar 王晓倩

预警列表设备类型字段处理

parent ab729657
......@@ -162,6 +162,13 @@ public class TDetectorInfoController extends BaseController
}
List<TDetectorAlarmInfoVO> alarmVO = tDetectorReportDataService.selectTDetectorAlarm();
for(TDetectorAlarmInfoVO alarm : alarmVO){
if("1".equals(alarm.getDetectorType())){
alarm.setDetectorType("家用探测器");
} else if ("2".equals(alarm.getDetectorType())){
alarm.setDetectorType("工业探测器");
}
}
map.put("totalNum", totalNum);
map.put("handledNum", handledNum);
......
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