Commit 0ad0b7ae authored by chenzhao's avatar chenzhao

修改代码

parent f3124d02
......@@ -451,12 +451,13 @@ public class MonitorFanIdxController extends BaseController {
StationBasic stationBasic = stationBasicMapper.selectById(stationId);
String gatewayId = stationBasic.getBoosterGatewayId();
Map<String, String> map = monitorFanIndicatorMapper.getMajorBoosterStationInfoBySort(stationId, equipName);
equipName = map.get("text").contains("主变")?map.get("text").substring(0,3):map.get("text");
String name = map.get("text").contains("主变")?map.get("text").substring(0,3):map.get("text");
Map<String, Object> switchUrl = monitorFanIndicatorImpl.getSwitchUrl(stationId, equipName);
List<Map<String, Object>> statusMonitoring = monitorFanIndicator.getStatusGzp(gatewayId ,"光字牌",equipName);
Map<String, Object> switchUrl = monitorFanIndicatorImpl.getSwitchUrl(stationId, name);
List<Map<String, Object>> statusMonitoring = monitorFanIndicator.getStatusGzp(gatewayId ,"光字牌",name);
IPage<Map<String, Object>> result = new Page<>();
switchUrl.put("records",statusMonitoring);
switchUrl.put("current",1);
......
......@@ -28,8 +28,6 @@ public class IndicatorsDto {
private String displayName;
private String pictureName;
private String title;
private String pictureName;
public String getTime() {
......
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