From 48c9414db4b7c44a43524115570796025d38a653 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期一, 17 一月 2022 16:37:34 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
java110-db/src/main/resources/mapper/user/OwnerAppUserServiceDaoImplMapper.xml | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/user/OwnerAppUserServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/OwnerAppUserServiceDaoImplMapper.xml
old mode 100644
new mode 100755
index b1cc920..27a298b
--- a/java110-db/src/main/resources/mapper/user/OwnerAppUserServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/OwnerAppUserServiceDaoImplMapper.xml
@@ -136,15 +136,11 @@
communityName,t.state,t.app_user_id,t.app_user_id appUserId,t.community_id,t.community_id
communityId,t.app_type_cd,t.app_type_cd appTypeCd,t.b_id,t.b_id bId,t.member_id,t.member_id memberId,
td1.name stateName,t.user_id,t.user_id userId,t.app_type,t.app_type appType,t.create_time createTime,
- bo.owner_id ownerId
- from owner_app_user t,t_dict td1,building_owner bo
+ bo.owner_id ownerId,bo.owner_type_cd ownerTypeCd
+ from owner_app_user t
+ left join t_dict td1 on t.state = td1.status_cd and td1.table_name = 'owner_app_user' and td1.table_columns = 'state'
+ left join building_owner bo on t.member_id = bo.member_id and t.community_id = bo.community_id and bo.status_cd = '0'
where 1 =1
- and t.state = td1.status_cd
- and td1.table_name = 'owner_app_user'
- and td1.table_columns = 'state'
- and t.member_id = bo.member_id
- and t.community_id = bo.community_id
- and bo.status_cd = '0'
<if test="idCard !=null and idCard != ''">
and t.id_card= #{idCard}
</if>
--
Gitblit v1.8.0