|
@@ -26,10 +26,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<include refid="selectSysRidingLanternVo"/>
|
|
|
<where>
|
|
|
<if test="isDelete != null "> and is_delete = #{isDelete}</if>
|
|
|
- <if test="content != null and content != ''"> and content = #{content}</if>
|
|
|
- <if test="startTime != null "> and start_time = #{startTime}</if>
|
|
|
- <if test="endTime != null "> and end_time = #{endTime}</if>
|
|
|
- <if test="userType != null and userType != ''"> and user_type = #{userType}</if>
|
|
|
+ <if test="content != null and content != ''"> and content like concat('%', #{content}, '%') </if>
|
|
|
+ <if test="startTime != null "> and start_time >= #{startTime}</if>
|
|
|
+ <if test="endTime != null "> and end_time < #{endTime}</if>
|
|
|
+ <if test="userType != null and userType != ''"> and user_type like concat('%', #{userType}, '%') </if>
|
|
|
<if test="tile != null and tile != ''"> and tile = #{tile}</if>
|
|
|
</where>
|
|
|
</select>
|