各国、各省省平均EQI分布折线图

This commit is contained in:
2023-03-15 17:57:54 +08:00
parent 9158979599
commit f2bf70cf2a
6 changed files with 284 additions and 99 deletions

View File

@ -163,4 +163,20 @@ public class MonitorController {
PmKeyValueEnVo pmKeyValueEnVo = monitorService.eqiProvince(country, year, type);
return AjaxResult.success(pmKeyValueEnVo);
}
@RequestMapping(value = "/eqiCountryLine", method = {RequestMethod.GET})
@ApiOperation(value = "各地理亚区平均EQI分布折线图", httpMethod = "GET")
public AjaxResult eqiCountryLine(@RequestParam(value = "country") String country,
@RequestParam(value = "type") String type) {
PmKeyValueVo pmKeyValueVo = monitorService.eqiCountryLine(country, type);
return AjaxResult.success(pmKeyValueVo);
}
@RequestMapping(value = "/eqiProvinceLine", method = {RequestMethod.GET})
@ApiOperation(value = "各省平均EQI分布折线图", httpMethod = "GET")
public AjaxResult eqiProvinceLine(@RequestParam(value = "province") String province,
@RequestParam(value = "type") String type) {
PmKeyValueVo pmKeyValueVo = monitorService.eqiProvinceLine(province, type);
return AjaxResult.success(pmKeyValueVo);
}
}