From 68e4b24ac27014d07cab1a2722bca1547de36934 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期四, 08 十二月 2022 14:05:01 +0800
Subject: [PATCH] fix: 案卷查询参数 预警研判参数

---
 ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml b/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
index bfe9750..c0c694c 100644
--- a/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
@@ -127,13 +127,13 @@
         select t1.*,
         t3.region_name community_text
         from ums_base_case t1
-        left join ums_sccg_region t3 on t1.street_id=t3.id
+        left join ums_sccg_region t3 on t1.community_id=t3.id
         <where>
             <if test="categories != null">
                 t1.category = #{categories}
             </if>
             <if test="streetId != null">
-                and t1.street_id = #{streetId}
+                and t1.community_id = #{streetId}
             </if>
             <if test="code != null and code !=''">
                 and t1.code like concat('%',#{code},'%')
@@ -237,8 +237,8 @@
                t3.latitude,
                t4.pic_data,
                t5.`name`     as grade,
-               t6.`name`     as street,
-               t7.`name`     as community,
+               t6.`region_name`     as street,
+               t7.`region_name`     as community,
                t1.alarm_time as alarmTime
         FROM ums_base_case t1
                  LEFT JOIN ums_violations t2 ON t1.id = t2.id

--
Gitblit v1.8.0