1、controller增加了listRoadData

This commit is contained in:
yitonglei 2022-05-11 17:37:01 +08:00
parent 92298bb539
commit f6ecf0dfb0
1 changed files with 7 additions and 0 deletions

View File

@ -382,4 +382,11 @@ public class Controller {
List<TrailSanitation> list = trailSanitationService.listSedimentTrailByPoints(longitude,latitude,raidus,start,end);
return Result.success(list);
}
//查询道路污染数据
@RequestMapping(value="listRoadData")
//输入参考2022-05-10 00:00:00只能查询当前日期前一天及以前的
public Result listRoadData(@RequestParam(value="dt") String dt){
List<RoadData> list = roadDataService.listRoadData(dt);
return Result.success(list);
}
}