|
@@ -57,7 +57,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="searchValue != null and searchValue != '' ">
|
|
<if test="searchValue != null and searchValue != '' ">
|
|
|
and (
|
|
and (
|
|
|
t.room_num like concat('%', #{searchValue}, '%') or
|
|
t.room_num like concat('%', #{searchValue}, '%') or
|
|
|
- t.room_name like concat('%', #{searchValue}, '%')
|
|
|
|
|
|
|
+ t.room_name like concat('%', #{searchValue}, '%') OR
|
|
|
|
|
+ sb.name LIKE CONCAT('%', #{searchValue}, '%')
|
|
|
)
|
|
)
|
|
|
</if>
|
|
</if>
|
|
|
<if test="roomType != null "> and t.room_type = #{roomType}</if>
|
|
<if test="roomType != null "> and t.room_type = #{roomType}</if>
|