diff --git a/src/main/java/com/hisense/monitormanage/controller/Controller.java b/src/main/java/com/hisense/monitormanage/controller/Controller.java index 0b60e2e..5b2bd61 100644 --- a/src/main/java/com/hisense/monitormanage/controller/Controller.java +++ b/src/main/java/com/hisense/monitormanage/controller/Controller.java @@ -382,4 +382,11 @@ public class Controller { List 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 list = roadDataService.listRoadData(dt); + return Result.success(list); + } }