From f6ecf0dfb0380c8fc803836b26359a14501a40df Mon Sep 17 00:00:00 2001 From: yitonglei Date: Wed, 11 May 2022 17:37:01 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81controller=E5=A2=9E=E5=8A=A0=E4=BA=86?= =?UTF-8?q?listRoadData?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hisense/monitormanage/controller/Controller.java | 7 +++++++ 1 file changed, 7 insertions(+) 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); + } }