|
@@ -15,8 +15,8 @@
|
|
|
<if test="startDate != null">
|
|
|
and l.logTime <![CDATA[ >= ]]> #{startDate}
|
|
|
</if>
|
|
|
- <if test="startDate != null ">
|
|
|
- and l.logTime <![CDATA[ < ]]> date_add(#{startDate}, interval 1 day)
|
|
|
+ <if test="endDate != null ">
|
|
|
+ and l.logTime <![CDATA[ <= ]]> #{endDate}
|
|
|
</if>
|
|
|
order by l.logTime desc
|
|
|
</select>
|