From 6b239bc3f277611786408c74f30ae7b338ac06a8 Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Mon, 25 Mar 2024 11:20:10 +0800
Subject: [PATCH] 小区用户支持栋,单元+名字查询
---
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
index f315c40..c359d35 100644
--- a/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
+++ b/src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -233,10 +233,11 @@
)
</select>
- <select id="getUserInfoByDistrictIds" resultType="org.springblade.modules.system.entity.User">
+ <select id="getUserInfoByDistrictIds" resultType="org.springblade.modules.house.vo.HouseholdVO">
SELECT
- bu.id,
+ jh.*,
+ bu.id userId,
bu.tenant_id,
bu.code,
bu.user_type,
@@ -246,7 +247,9 @@
bu.avatar,
bu.email,
bu.phone,
- bu.birthday
+ bu.birthday,
+ jhe.building,
+ jhe.unit
FROM
blade_user bu
LEFT JOIN jczz_household jh ON bu.id = jh.associated_user_id and jh.is_deleted=0
--
Gitblit v1.9.3