|
|
@@ -461,8 +461,10 @@
|
|
|
<bind name="kw" value="'%' + v.keyword + '%' "/>
|
|
|
and v.keyword like #{kw,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
- <if test="startTime != null and endTime != null">
|
|
|
- v.release_time between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
|
|
|
+ <if test="v.startTime != null and v.endTime != null">
|
|
|
+ <bind name="st" value=" v.startTime + ' 00:00:00' "/>
|
|
|
+ <bind name="et" value=" v.endTime + ' 23:59:59' "/>
|
|
|
+ and v.release_time between #{st,jdbcType=VARCHAR} and #{et,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="v.top != null">
|
|
|
and v.top = #{v.top,jdbcType=INTEGER}
|
|
|
@@ -506,6 +508,11 @@
|
|
|
<bind name="kw" value="'%' + v.keyword + '%' "/>
|
|
|
and v.keyword like #{kw,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
+ <if test="v.startTime != null and v.endTime != null">
|
|
|
+ <bind name="st" value=" v.startTime + ' 00:00:00' "/>
|
|
|
+ <bind name="et" value=" v.endTime + ' 23:59:59' "/>
|
|
|
+ and v.release_time between #{st,jdbcType=VARCHAR} and #{et,jdbcType=VARCHAR}
|
|
|
+ </if>
|
|
|
<if test="v.top != null">
|
|
|
and v.top = #{v.top,jdbcType=INTEGER}
|
|
|
</if>
|