1、controller增加了listRoadData
This commit is contained in:
parent
92298bb539
commit
f6ecf0dfb0
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue