From cb734129b410c02275c0f2fc5e820d6ccc0e17c0 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Tue, 18 Jun 2024 18:12:20 +0800
Subject: [PATCH] 出租屋查询房东信息
---
src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml | 6 +++++-
1 files changed, 5 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 90e27fc..3ffec9e 100644
--- a/src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
+++ b/src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
@@ -175,6 +175,8 @@
jh.marital_status,
jh.card_number,
jh.other_contact,
+ jh.create_time,
+ jh.update_time,
IF
( jda.id IS NOT NULL, jda.address_name, jh.current_address ) AS current_address,
jh.disability_cert,
@@ -347,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>
@@ -524,6 +526,8 @@
jh.confirm_flag,
jh.housing_rental_id,
jh.volunteer_org,
+ jh.create_time,
+ jh.update_time,
if(jda.id is not null, substring(jda.town_street_code, 1, 9), jh.home_adcode) as home_adcode,
br1.name as residentAdName,
br1.province_code as residentProvinceAdCode,
--
Gitblit v1.9.3