|
|
|
@ -37,10 +37,10 @@
|
|
|
|
|
CONCAT('%',#{search},'%'))
|
|
|
|
|
</if>
|
|
|
|
|
<if test="startDate != null">
|
|
|
|
|
and date(t1.create_time) >= #{startDate}
|
|
|
|
|
and t1.create_time >= #{startDate}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="endDate != null">
|
|
|
|
|
and date(t1.create_time) <= #{endDate}
|
|
|
|
|
and t1.create_time <= #{endDate}
|
|
|
|
|
</if>
|
|
|
|
|
order by t1.create_time desc
|
|
|
|
|
</select>
|
|
|
|
@ -79,10 +79,10 @@
|
|
|
|
|
CONCAT('%',#{search},'%'))
|
|
|
|
|
</if>
|
|
|
|
|
<if test="startDate != null">
|
|
|
|
|
and date(t1.create_time) >= #{startDate}
|
|
|
|
|
and t1.create_time >= #{startDate}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="endDate != null">
|
|
|
|
|
and date(t1.create_time) <= #{endDate}
|
|
|
|
|
and t1.create_time <= #{endDate}
|
|
|
|
|
</if>
|
|
|
|
|
order by t1.create_time desc
|
|
|
|
|
</select>
|
|
|
|
|