From 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 19 七月 2022 21:49:55 +0800
Subject: [PATCH] 优化添加设备 功能
---
java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml
index e634250..13b3c23 100644
--- a/java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/OwnerV1ServiceDaoImplMapper.xml
@@ -166,7 +166,7 @@
<select id="queryOwnersBindCount" parameterType="Map" resultType="Map">
- select count(DISTINCT t.member_id) from building_owner t
+ select count(DISTINCT t.member_id) count from building_owner t
left join owner_app_user oau on t.community_id = oau.community_id and t.member_id = oau.member_id and oau.status_cd = '0'
where t.status_cd = '0'
<if test='isBind == "N"'>
--
Gitblit v1.8.0