Commit 196b3d02 authored by caotao's avatar caotao

更新三维告警接口

parent 60f4af84
...@@ -837,6 +837,7 @@ public class MonitorFanIdxController extends BaseController { ...@@ -837,6 +837,7 @@ public class MonitorFanIdxController extends BaseController {
} }
@TycloudOperation(needAuth = false, ApiLevel = UserType.AGENCY)
@ApiOperation(value = "风机-三维告警") @ApiOperation(value = "风机-三维告警")
@GetMapping("/partofWaring3D") @GetMapping("/partofWaring3D")
public ResponseModel<Map<String, Object>> partofWaring3D(@RequestParam(value = "stationId") String stationId, @RequestParam(value = "equipNum") String equipNum) { public ResponseModel<Map<String, Object>> partofWaring3D(@RequestParam(value = "stationId") String stationId, @RequestParam(value = "equipNum") String equipNum) {
......
...@@ -1978,7 +1978,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator { ...@@ -1978,7 +1978,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
queryCondtion.put(CommonConstans.QueryStringEquipmentNumber, Arrays.asList(equipNum)); queryCondtion.put(CommonConstans.QueryStringEquipmentNumber, Arrays.asList(equipNum));
Map<String, String> shouldCondtion = new HashMap<>(); Map<String, String> shouldCondtion = new HashMap<>();
shouldCondtion.put(CommonConstans.QueryStringEquipmentIndexName, "实时故障"); shouldCondtion.put(CommonConstans.QueryStringEquipmentIndexName, "实时故障");
List<ESEquipments> indicatorsDtoList = commonServiceImpl.getListDataByCondtions(queryCondtion, shouldCondtion, ESEquipments.class); List<ESEquipments> indicatorsDtoList = commonServiceImpl.getListDataByCondtions(queryCondtion, null, ESEquipments.class,shouldCondtion);
//获取风机型号 //获取风机型号
String type = indicatorsDtoList.get(0).getEquipmentSpecificName().substring(0, 5); String type = indicatorsDtoList.get(0).getEquipmentSpecificName().substring(0, 5);
List<String> sytemNames = Arrays.asList("发电机系统", "机舱与塔筒系统", "变流与主控系统", "偏航与液压系统", "叶轮系统"); List<String> sytemNames = Arrays.asList("发电机系统", "机舱与塔筒系统", "变流与主控系统", "偏航与液压系统", "叶轮系统");
......
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