From ddef54b90b578d14e2cdad5d21a0fc2f612be46a Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Fri, 22 Dec 2023 17:46:38 +0800
Subject: [PATCH] 小区,场所,房屋修改

---
 src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml b/src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
index 9008b94..94b9720 100644
--- a/src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
+++ b/src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
@@ -142,7 +142,12 @@
         <if test="household.confirmFlag != null ">
             and jh.confirm_flag = #{household.confirmFlag}
         </if>
-
+        <if test="household.townStreetName!=null and household.townStreetName!=''">
+            and jda.town_street_name like concat('%',#{household.townStreetName},'%')
+        </if>
+        <if test="household.neiName!=null and household.neiName!=''">
+            and jda.nei_name like concat('%',#{household.neiName},'%')
+        </if>
         <if test="household.housingRentalId != null ">
             and jh.housing_rental_id = #{household.housingRentalId}
         </if>

--
Gitblit v1.9.3