|
@@ -52,10 +52,10 @@
|
|
|
AND dept_name LIKE CONCAT('%', #{deptName}, '%')
|
|
|
</if>
|
|
|
<if test="startDate != null and startDate != ''">
|
|
|
- AND create_time >= #{startDate}
|
|
|
+ AND FROM_UNIXTIME( create_time / 1000, '%Y-%m-%d' ) >= #{startDate}
|
|
|
</if>
|
|
|
<if test="endDate != null and endDate != ''">
|
|
|
- AND create_time <= #{endDate}
|
|
|
+ AND FROM_UNIXTIME( create_time / 1000, '%Y-%m-%d' ) <= #{endDate}
|
|
|
</if>
|
|
|
</where>
|
|
|
GROUP BY dept_name) e ON e.dept_name = a.dept_name
|