From d798fca209d611327dbf8e1dba377559c15a6d49 Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Mon, 24 Jun 2024 13:53:18 +0800
Subject: [PATCH] 网格查询修改

---
 src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml |    5 ++++-
 1 files changed, 4 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 56c29ce..842cf65 100644
--- a/src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
+++ b/src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
@@ -349,7 +349,7 @@
                 and jhs.district_code = #{household.aoiCode}
             </if>
             and jh.is_deleted = 0
-            order by jh.create_time desc
+            order by jh.id desc
         </where>
 
 
@@ -1054,6 +1054,9 @@
             <if test="household.confirmFlag != null ">
                 and jh.confirm_flag = #{household.confirmFlag}
             </if>
+            <if test="household.relationship != null ">
+                and jh.relationship = #{household.relationship}
+            </if>
             <if test="household.townStreetName!=null and household.townStreetName!=''">
                 and jda.town_street_name like concat('%',#{household.townStreetName},'%')
             </if>

--
Gitblit v1.9.3