| | |
| | | t.room_sub_type,t.room_rent,t.room_area,t.room_sub_type roomSubType,t.room_rent roomRent,t.room_area roomArea |
| | | from building_room t |
| | | left join building_unit bu on bu.unit_id = t.unit_id |
| | | left join f_floor ff on ff.floor_id = bu.floor_id |
| | | where 1 =1 |
| | | <if test="floorNum !=null and floorNum != ''"> |
| | | and ff.floor_num = #{floorNum} |
| | | </if> |
| | | <if test="feeCoefficient !=null and feeCoefficient != ''"> |
| | | and t.fee_coefficient= #{feeCoefficient} |
| | | </if> |
| | |
| | | <if test="roomNum !=null and roomNum != ''"> |
| | | and t.room_num= #{roomNum} |
| | | </if> |
| | | <if test="roomNumIsNull != null"> |
| | | and t.room_num = '' |
| | | </if> |
| | | <if test="roomNumLike !=null and roomNumLike != ''"> |
| | | and t.`room_num` like concat('%', #{roomNumLike},'%') |
| | | </if> |