各国、各省省平均EQI分布折线图
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user