From dc9b3f8cb8f35f18699cab2262d4d03e24635234 Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Fri, 24 Sep 2021 13:47:32 +0800
Subject: [PATCH] screen-api              更改获取国控站数据接口,添加参数因子code

---
 screen-api/src/main/java/com/moral/api/controller/GovMonitorPointController.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/screen-api/src/main/java/com/moral/api/controller/GovMonitorPointController.java b/screen-api/src/main/java/com/moral/api/controller/GovMonitorPointController.java
index 565a897..2cba59e 100644
--- a/screen-api/src/main/java/com/moral/api/controller/GovMonitorPointController.java
+++ b/screen-api/src/main/java/com/moral/api/controller/GovMonitorPointController.java
@@ -33,16 +33,16 @@
 
 
     /**
-     * @Description: ���������������������
-     * @Param: [regionCode]
+     * @Description: ���������������������������������������
+     * @Param: [regionCode,sensorCode]
      * @return: com.moral.constant.ResultMessage
      * @Author: ���������
      * @Date: 2021/9/9
      */
     @GetMapping("queryStateControlStation")
-    public ResultMessage queryStateControlStation(Integer regionCode) {
+    public ResultMessage queryStateControlStation(Integer regionCode,String sensorCode) {
 
-        List<GovMonitorPoint> govMonitorPoints = govMonitorPointService.queryGovMonitorPointAndDataByRegionCode(regionCode);
+        List<GovMonitorPoint> govMonitorPoints = govMonitorPointService.queryGovMonitorPointAndDataByRegionCode(regionCode,sensorCode);
 
         return new ResultMessage(ResponseCodeEnum.SUCCESS.getCode(), ResponseCodeEnum.SUCCESS.getMsg(), govMonitorPoints);
     }

--
Gitblit v1.8.0