from ics_meeting_reservation mr inner join ics_meeting_room room on mr.room_id=room.id where mr.delete_flag=0 and room.delete_flag=0 and status >= 5
<iftest="title != null and title != ''"> AND title LIKE CONCAT('%', #{title}, '%')</if>
<iftest="userOrg != null and userOrg != ''"> AND user_org LIKE CONCAT('%', #{userOrg}, '%')</if>
<iftest="floor != null and floor != ''"> AND floor = #{floor}</if>
<iftest="name != null and name != ''"> AND name LIKE CONCAT('%', #{name}, '%')</if>
<iftest="typeName != null and typeName != ''"> AND type_name = #{typeName}</if>
<iftest="device != null and device != ''"> AND room.device LIKE CONCAT('%', #{device}, '%')</if>
<iftest="capacityNum != null"> AND capacity_num <= #{capacityNum}</if>
<iftest="filterDate != null and filterDate != ''"> AND start LIKE CONCAT(#{filterDate}, '%')</if>