From f4ea663cc61e37a7ab645f2c35e9bcc7f2be7cf8 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期五, 28 二月 2025 17:33:32 +0800
Subject: [PATCH] 运营加入 房屋和房屋明细功能

---
 java110-db/src/main/resources/mapper/user/OwnerServiceDaoImplMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/user/OwnerServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/OwnerServiceDaoImplMapper.xml
index 088397a..cd30df5 100755
--- a/java110-db/src/main/resources/mapper/user/OwnerServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/OwnerServiceDaoImplMapper.xml
@@ -628,11 +628,11 @@
         t.start_time startTime,
         t.end_time endTime,
         t.create_time createTime,
-        t.room_id roomId
+        t.room_id roomId,
+        t.status_cd statusCd
         FROM
         building_owner_room_rel t
-        INNER JOIN building_owner bo ON t.owner_id = bo.owner_id AND bo.status_cd = '0' AND bo.community_id =
-        #{communityId}
+        INNER JOIN building_owner bo ON t.owner_id = bo.owner_id AND bo.status_cd = '0'
         WHERE
         bo.owner_type_cd = '1001'
         AND t.room_id = #{roomId}
@@ -647,7 +647,7 @@
         select COUNT(1) count
         from building_owner_room_rel t
             inner join building_owner bo
-        on t.owner_id = bo.owner_id and bo.status_cd = '0' and bo.community_id = #{communityId}
+        on t.owner_id = bo.owner_id and bo.status_cd = '0'
         where bo.owner_type_cd = '1001'
           and t.room_id = #{roomId}
     </select>

--
Gitblit v1.8.0