From 19c0886badef2cb971b8bfd3d5eadea3cbe74bc4 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Fri, 26 Jan 2024 18:00:23 +0800
Subject: [PATCH] 区域过滤去除上饶市

---
 src/main/java/org/springblade/modules/community/mapper/CommunityMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/community/mapper/CommunityMapper.xml b/src/main/java/org/springblade/modules/community/mapper/CommunityMapper.xml
index 852a534..f83bb14 100644
--- a/src/main/java/org/springblade/modules/community/mapper/CommunityMapper.xml
+++ b/src/main/java/org/springblade/modules/community/mapper/CommunityMapper.xml
@@ -59,7 +59,7 @@
     <!--自定义分页列表查询-->
     <select id="getCommunityCodeListByUserId" resultType="java.lang.String">
         select code from jczz_community
-        where is_deleted = 0 and res_police_user_id = #{userId}
+        where is_deleted = 0 and res_police_user_id like concat('%',#{userId},'%')
     </select>
 
 

--
Gitblit v1.9.3