From 86433cc96873653f1b3581608bf6b6bb58ebc216 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Sat, 27 Jan 2024 17:32:51 +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