|
@@ -49,6 +49,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
49
|
49
|
<if test="lastPoint != null and lastPoint != ''"> and s.last_point = #{lastPoint}</if>
|
50
|
50
|
<if test="lastTime != null "> and YEAR(s.last_time) = YEAR(#{lastTime})</if>
|
51
|
51
|
<if test="getHours != null "> and s.get_hours = #{getHours}</if>
|
|
52
|
+ <if test="title != null "> and r.title like concat('%', #{title}, '%')</if>
|
|
53
|
+ <if test="type != null "> and r.type like concat('%', #{type}, '%')</if>
|
52
|
54
|
</where>
|
53
|
55
|
</select>
|
54
|
56
|
|