|
|
|
@ -159,9 +159,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="createTime != null and createTime !='' and createTime != 'all'">
|
|
|
|
|
and DATE_FORMAT(tp.create_time,'%Y-%m') = #{createTime}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="createTime == null or createTime ==''">
|
|
|
|
|
and to_days(tr.create_time) = to_days(now())
|
|
|
|
|
</if>
|
|
|
|
|
<if test="startTime != null and startTime != '' and endTime == null "> and tr.create_time >= #{startTime}</if>
|
|
|
|
|
<if test="startTime == null and endTime != '' and endTime != null "> and tr.create_time <= #{endTime}</if>
|
|
|
|
|
<if test="startTime != null and endTime != null "> and tr.create_time between #{startTime} and #{endTime}</if>
|
|
|
|
|