| | |
| | | |
| | | |
| | | /** |
| | | * @Description: 查询国控站接口 |
| | | * @Param: [regionCode] |
| | | * @Description: 查询国控站以及数据接口接口 |
| | | * @Param: [regionCode,sensorCode] |
| | | * @return: com.moral.constant.ResultMessage |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2021/9/9 |
| | | */ |
| | | @GetMapping("queryStateControlStation") |
| | | public ResultMessage queryStateControlStation(Integer regionCode) { |
| | | public ResultMessage queryStateControlStation(Integer regionCode,String sensorCode) { |
| | | |
| | | List<GovMonitorPoint> govMonitorPoints = govMonitorPointService.queryGovMonitorPointAndDataByRegionCode(regionCode); |
| | | List<GovMonitorPoint> govMonitorPoints = govMonitorPointService.queryGovMonitorPointAndDataByRegionCode(regionCode,sensorCode); |
| | | |
| | | return new ResultMessage(ResponseCodeEnum.SUCCESS.getCode(), ResponseCodeEnum.SUCCESS.getMsg(), govMonitorPoints); |
| | | } |