Commit ebf07779 authored by chenzhao's avatar chenzhao

修改代码

parent 8c967ea5
...@@ -268,7 +268,9 @@ public class TdHygfJpInverterWarnController extends BaseController { ...@@ -268,7 +268,9 @@ public class TdHygfJpInverterWarnController extends BaseController {
endTime = time.get(1); endTime = time.get(1);
} }
if (StringUtils.isNotEmpty(content)){
content = '%'+content+'%';
}
List<TdHygfJpInverterWarnDto> maps = tdHygfJpInverterWarnServiceImpl.selectWarnList(state, level, minvalue, maxValue, snCode, stationId, startTime, endTime, content,current,size); List<TdHygfJpInverterWarnDto> maps = tdHygfJpInverterWarnServiceImpl.selectWarnList(state, level, minvalue, maxValue, snCode, stationId, startTime, endTime, content,current,size);
for (TdHygfJpInverterWarnDto map : maps) { for (TdHygfJpInverterWarnDto map : maps) {
if (nameMaps.containsKey(map.getThirdStationId())){ if (nameMaps.containsKey(map.getThirdStationId())){
......
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