Commit f3b5ff79 authored by caotao's avatar caotao

处理新增场站名拼音导致参数传递错误

parent 31a1ff6f
...@@ -125,6 +125,8 @@ public class MonitorFanIdxController extends BaseController { ...@@ -125,6 +125,8 @@ public class MonitorFanIdxController extends BaseController {
IndexDto indexDto = indexDtoList.get(i-1); IndexDto indexDto = indexDtoList.get(i-1);
hashMap.put("url"+i,fanStatusImagePathPrefix+"/"+"风机-"+indexDto.getState()+".gif"); hashMap.put("url"+i,fanStatusImagePathPrefix+"/"+"风机-"+indexDto.getState()+".gif");
hashMap.put("name"+i,prefix+indexDto.getEquipmentNumber()); hashMap.put("name"+i,prefix+indexDto.getEquipmentNumber());
//用于参数传递
hashMap.put("name"+i+'d',indexDto.getEquipmentNumber());
} }
page.setTotal(10); page.setTotal(10);
page.setSize(10); page.setSize(10);
......
...@@ -934,6 +934,8 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator { ...@@ -934,6 +934,8 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
if (Integer.parseInt(num) == Integer.parseInt(listDatum.getEquipmentNumber())) { if (Integer.parseInt(num) == Integer.parseInt(listDatum.getEquipmentNumber())) {
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
map.put("title", prefix + listDatum.getEquipmentNumber()); map.put("title", prefix + listDatum.getEquipmentNumber());
//用于参数传递
map.put("title1", listDatum.getEquipmentNumber());
map.put("windSpeed", listDatum.getValue()); map.put("windSpeed", listDatum.getValue());
map.put("power", listDatum.getValueLabel()); map.put("power", listDatum.getValueLabel());
//获取风机状态如果获取到的状态为空-则默认为正常运行状态 //获取风机状态如果获取到的状态为空-则默认为正常运行状态
......
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