From d40f0ec77c41e3e6230d9f3fd59363e87d2cbf74 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Sat, 27 Jan 2024 22:37:28 +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