|
@@ -166,7 +166,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="queryOwnersBindCount" parameterType="Map" resultType="Map">
|
|
<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'
|
|
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'
|
|
where t.status_cd = '0'
|
|
|
<if test='isBind == "N"'>
|
|
<if test='isBind == "N"'>
|