|
@@ -62,7 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
,DATE_FORMAT(create_time, '%Y-%m-%d') AS `month` from fs_course_traffic_log
|
|
|
<where>
|
|
|
<if test="startDate != null and endDate != null">
|
|
|
- and create_time between #{startDate} AND #{endDate}
|
|
|
+ and DATE_FORMAT(create_time, '%Y-%m-%d') between #{startDate} AND #{endDate}
|
|
|
</if>
|
|
|
<if test='companyId !=null'>
|
|
|
and company_id = #{companyId}
|