From df500bf6ee29b3fead5b920ed366230b62a4c7ee Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期三, 22 十一月 2023 09:57:42 +0800
Subject: [PATCH] 1.新增了站点信息查询的接口 2.修改了扬尘已有接口的参数以及sql语句 3.修改了用户登陆接口

---
 src/main/resources/mapper/ds1/RiskValueMapper.xml |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/ds1/RiskValueMapper.xml b/src/main/resources/mapper/ds1/RiskValueMapper.xml
index 9e8daa2..ebdb8b8 100644
--- a/src/main/resources/mapper/ds1/RiskValueMapper.xml
+++ b/src/main/resources/mapper/ds1/RiskValueMapper.xml
@@ -22,4 +22,22 @@
     id, mn_code, lst, online_risk, valid_risk, exceed_risk, exception_type_aggregation, 
     typical_exception_repetition_rate, type
   </sql>
+
+  <select id="queryRiskDataByMonth" resultType="com.flightfeather.monitor.pojo.RiskValuePojo">
+    select b.name,a.*
+    from du_js_t_risk_value as a left join ja_t_dust_site_info as b on a.mn_code = b.mn_code
+    <where>
+      <if test="mnCode != null and mnCode != '' ">
+        a.mn_code = #{mnCode}
+      </if>
+
+      <if test="month != null">
+        and  a.lst = #{month}
+      </if>
+
+      <if test="type != null and type != '' ">
+        and a.type = #{type}
+      </if>
+    </where>
+  </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3