Selaa lähdekoodia

项目报表服务有关负责部门修改

yurk 2 vuotta sitten
vanhempi
commit
0fa7fcb0d2

+ 1 - 1
fhKeeper/formulahousekeeper/management-platform/src/main/resources/mapper/ProjectMapper.xml

@@ -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 &gt;=#{startDate} and task.create_date &lt;=#{endDate}
+            and report.create_date &gt;=#{startDate} and report.create_date &lt;=#{endDate}
         </if>) as workingTime
         from user us
         left join  department dp on dp.department_id=us.department_id