浏览代码

修复bug

lmx 1 周之前
父节点
当前提交
5125492cde
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fs-service/src/main/resources/mapper/course/FsCourseWatchLogMapper.xml

+ 2 - 2
fs-service/src/main/resources/mapper/course/FsCourseWatchLogMapper.xml

@@ -144,10 +144,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 and l.camp_period_time <= #{maps.scheduleEndTime}
             </if>
             <if test= 'maps.upSTime != null '>
-                and l.update_time &gt;= #{maps.upSTime}
+                and DATE(l.update_time) &gt;= DATE(#{maps.upSTime})
             </if>
             <if test='maps.upETime != null '>
-                and l.update_time &lt;= #{maps.upETime}
+                and DATE(l.update_time) &lt;= DATE(#{maps.upETime})
             </if>
             <if test="maps.sopIds != null and maps.sopIds.size() > 0">
                 and l.sop_id in