修改bug

This commit is contained in:
gongtianyi
2024-06-25 10:10:53 +08:00
parent e29636522d
commit fb972249dc
4 changed files with 8 additions and 7 deletions

View File

@ -79,8 +79,9 @@ public class ENSOImpactController {
@ApiOperation(value = "四类ENSO事件空间分布统计", httpMethod = "GET")
public AjaxResult ensoEventRate(@RequestParam(value = "type") String type,
@RequestParam(value = "zone") String zone,
@RequestParam(value = "year") String year) {
ENSOEventRateEntity ensoEventRateEntity = ensoImpactService.ensoEventRate(type, zone, year);
@RequestParam(value = "year") String year,
@RequestParam(value = "dq",required = false) String dq) {
ENSOEventRateEntity ensoEventRateEntity = ensoImpactService.ensoEventRate(type, zone, year,dq);
return AjaxResult.success(ensoEventRateEntity);
}