chengf
2026-03-11 b88a288f4f787b509463678e3cd9ccfa3f37014b
java110-db/src/main/resources/mapper/community/RoomServiceDaoImplMapper.xml
@@ -188,6 +188,15 @@
        <if test="roomId !=null and roomId != ''">
            and t.room_id= #{roomId}
        </if>
        <if test="doorRoomNum !=null and doorRoomNum != ''">
            and t.door_room_num= #{doorRoomNum}
        </if>
        <if test="propertyType !=null and propertyType != ''">
            and t.property_type= #{propertyType}
        </if>
        <if test="propertyAddress !=null and propertyAddress != ''">
            and t.property_address= #{propertyAddress}
        </if>
        <if test="roadName !=null and roadName != ''">
            and t.road_name= #{roadName}
        </if>
@@ -369,7 +378,7 @@
        left join building_owner bo on bo.owner_id = borr.owner_id
        WHERE 1 =1
        <if test="communityId !=null and communityId != ''">
            AND t.`community_id` = #{communityId}
            AND t.`community_id` in (#{communityId},'9999')
        </if>
        and t.status_cd ='0'
        <if test="floorId !=null and floorId != ''">
@@ -440,9 +449,6 @@
            <foreach collection="states" item="item" open="(" close=")" separator=",">
                #{item}
            </foreach>
        </if>
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
        </if>
        <if test="communityIds != null">
            and t.community_id in
@@ -788,6 +794,9 @@
                #{item}
            </foreach>
        </if>
        <if test="roadName !=null and roadName != ''">
            AND t.`road_name` = #{roadName}
        </if>
        <if test="floorId !=null and floorId != ''">
            and f.`floor_id`= #{floorId}
        </if>
@@ -866,6 +875,9 @@
        <if test="roomSubType !=null and roomSubType != ''">
            and t.room_sub_type= #{roomSubType}
        </if>
        <if test="propertyType !=null and propertyType != ''">
            and t.property_type= #{propertyType}
        </if>
        <if test="states != null">
            and t.state in
            <foreach collection="states" item="item" open="(" close=")" separator=",">