Commit f2ba7d96 authored by tangwei's avatar tangwei

解决冲突

parents 59c1fd2d 3c6c35d2
......@@ -238,6 +238,7 @@ public class TdHygfJpInverterWarnController extends BaseController {
@UserLimits
public ResponseModel<List<TdHygfJpInverterWarnDto>> selectWarnList(@RequestParam(required = false) String state,
@RequestParam(required = false) String level,
@RequestParam(required = false) String stationName,
@RequestParam(required = false) String minvalue,
@RequestParam(required = false) String maxValue,
@RequestParam(required = false) String snCode,
......@@ -250,6 +251,9 @@ public class TdHygfJpInverterWarnController extends BaseController {
JpStationDto reviewDto = new JpStationDto();
Map<String, String> nameMaps = new HashMap<>();
if (null != stationName){
reviewDto.setName(stationName);
}
List<JpStation> jpStation = jpStationMapper.getJpStation(reviewDto);
nameMaps = jpStation.stream().collect(Collectors.toMap(JpStation::getThirdStationId, JpStation::getName));
......
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