From 31b6aefacbee9dde61be6afcb7c6dbbf7c6baa7d Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Tue, 02 Jan 2024 17:51:17 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/main/java/org/springblade/modules/district/mapper/DistrictMapper.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/district/mapper/DistrictMapper.xml b/src/main/java/org/springblade/modules/district/mapper/DistrictMapper.xml
index a2d8738..a7017f2 100644
--- a/src/main/java/org/springblade/modules/district/mapper/DistrictMapper.xml
+++ b/src/main/java/org/springblade/modules/district/mapper/DistrictMapper.xml
@@ -30,9 +30,18 @@
<if test="district.name !=null and district.name !=''">
and jd.name like concat('%',#{district.name},'%')
</if>
+ <if test="district.communityName !=null and district.communityName !=''">
+ and br.village_name like concat('%', #{district.communityName},'%')
+ </if>
<if test="district.communityCode !=null and district.communityCode !=''">
and jd.community_code = #{district.communityCode}
</if>
+ <if test="district.townStreetName !=null and district.townStreetName !=''">
+ and br.town_name like concat('%',#{district.townStreetName},'%')
+ </if>
+ <if test="district.regionCode !=null and district.regionCode !=''">
+ and jd.community_code like concat('%',#{district.regionCode},'%')
+ </if>
</select>
<!--小区树查询-->
--
Gitblit v1.9.3