Преглед на файлове

月度表实际工时展示

cs преди 2 години
родител
ревизия
16d030e1e6
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      fhKeeper/formulahousekeeper/management-platform/src/main/resources/mapper/ProjectMapper.xml

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

@@ -1220,8 +1220,7 @@
         (select allday from time_type te
         where te.company_id=#{companyId}) as allday,
         (select SUM(report.working_time) from report
-        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
+        where report.creator_id=us.id and report.state=1
         and report.create_date >=#{startDate} and report.create_date <=#{endDate})
         as workingTime,
         (select SUM(leave_sheet.time_hours) from leave_sheet