From 4fafe2304ab5e3df321808f5120b29baf27c7eab Mon Sep 17 00:00:00 2001
From: chengf <cgf12138@163.com>
Date: 星期一, 25 八月 2025 16:09:52 +0800
Subject: [PATCH] 暂存0822

---
 java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml
index c040735..8d13822 100755
--- a/java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml
@@ -976,4 +976,13 @@
             limit #{page},#{row}
         </if>
     </select>
+
+    <select id="queryRoomsAsReport" parameterType="Map" resultType="Map">
+        select br.property_type,bf.floor_num,bu.unit_num,br.room_num,br.door_room_num,br.property_address,br.room_area,bo.`name`,br.room_id from building_room br
+         left join building_unit bu on br.unit_id = bu.unit_id
+         inner join f_floor bf on bu.floor_id = bf.floor_id
+         left join building_owner_room_rel borr on borr.room_id = br.room_id
+         left join building_owner bo on bo.owner_id = borr.owner_id
+        limit 1,10
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0