|
@@ -754,7 +754,7 @@
|
|
|
left join task on task.id=report.task_id
|
|
|
where report.creator_id=us.id and task_id is not null and report.state=1
|
|
|
<if test="startDate!=null and endDate!=null">
|
|
|
- and task.create_date >=#{startDate} and task.create_date <=#{endDate}
|
|
|
+ and report.create_date >=#{startDate} and report.create_date <=#{endDate}
|
|
|
</if>) as workingTime
|
|
|
from user us
|
|
|
left join department dp on dp.department_id=us.department_id
|