From b3b566ebdfed4005aaa513da3d5d2fd3924903cc Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Wed, 31 Jan 2024 16:17:54 +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