wuxw
2025-02-28 f4ea663cc61e37a7ab645f2c35e9bcc7f2be7cf8
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>