From 5745a87f3a139ea2bbdaf4704978e4c151ecc45a Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Tue, 23 Jan 2024 17:39:48 +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