日志日期查询

This commit is contained in:
大米 2024-10-09 14:50:01 +08:00
parent a536808643
commit d96125c408
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
and op_user_job_no =#{query.opUserJobNo}
</if>
<if test="query.startDate!=null and query.startDate!=''">
and op_time &gt;= #{query.startDate} and op_time &lt;= #{query.endDate}
and op_time &gt;= #{query.startDate} and op_time &lt;= DATE_ADD(#{query.endDate},1 day)
</if>
</sql>