From a15f3dccec3c370f90005068350173768a5e222d Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期四, 23 十一月 2023 16:07:53 +0800
Subject: [PATCH] 新增了根据点位名称查询设备编号的接口

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

diff --git a/src/main/resources/mapper/ds1/RiskValueMapper.xml b/src/main/resources/mapper/ds1/RiskValueMapper.xml
index 2fc827f..ebdb8b8 100644
--- a/src/main/resources/mapper/ds1/RiskValueMapper.xml
+++ b/src/main/resources/mapper/ds1/RiskValueMapper.xml
@@ -28,7 +28,7 @@
     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 != '' ">
-        b.name = #{mnCode}
+        a.mn_code = #{mnCode}
       </if>
 
       <if test="month != null">

--
Gitblit v1.9.3