Przeglądaj źródła

处理存在销售端根据创建日期查询不出数据问题修复

yjwang 14 godzin temu
rodzic
commit
7144bccba9

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

@@ -122,10 +122,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 and DATE(qec.create_time) <= DATE(#{maps.qecETime})
             </if>
             <if test= 'maps.sTime != null '>
-                and l.create_time &gt;= #{maps.sTime}
+                and l.create_time &gt;= CONCAT(#{maps.sTime}," 00:00:00")
             </if>
             <if test='maps.eTime != null '>
-                and l.create_time &lt;= #{maps.eTime}
+                and l.create_time &lt; CONCAT(#{maps.eTime}, ' 00:00:00') + INTERVAL 1 DAY
             </if>
             <if test= 'maps.scheduleStartTime != null '>
                 and DATE(l.camp_period_time) &gt;= DATE(#{maps.scheduleStartTime})