From 37c298b6027352872cb72cffa254442a6aa7b2b0 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期四, 18 五月 2023 11:26:12 +0800
Subject: [PATCH] 开发根据日期查询污染点详情值接口

---
 src/main/java/com/yssh/controller/SuYuanController.java |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/yssh/controller/SuYuanController.java b/src/main/java/com/yssh/controller/SuYuanController.java
index a1f4d56..88f33d0 100644
--- a/src/main/java/com/yssh/controller/SuYuanController.java
+++ b/src/main/java/com/yssh/controller/SuYuanController.java
@@ -1,6 +1,6 @@
 package com.yssh.controller;
 
-import com.yssh.entity.MonitorPointPosition;
+import com.yssh.entity.*;
 import com.yssh.service.ICommonService;
 import com.yssh.utils.StringUtils;
 import io.swagger.annotations.Api;
@@ -18,9 +18,6 @@
 import org.springframework.web.bind.annotation.RestController;
 
 import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
-import com.yssh.entity.SuYuan2d;
-import com.yssh.entity.SuYuan3d;
-import com.yssh.entity.SuYuanMonitorData;
 import com.yssh.service.ISuYuanService;
 import com.yssh.utils.Result;
 
@@ -129,4 +126,13 @@
 
         return Result.OK(point);
     }
+
+    @ApiOperation(value = "鏍规嵁Qxsh鍊�", notes = "鏍规嵁Qxsh鍊�")
+    @ApiOperationSupport(order = 10)
+    @GetMapping("/queryQxsh")
+    public Result queryQxsh(@RequestParam(value = "date", required = true) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") Date date) {
+        List<Qxsh> list = suYuanService.queryQxsh(date);
+
+        return Result.OK(list);
+    }
 }

--
Gitblit v1.9.3