cqp 2 weeks ago
parent
commit
207a16c9cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Service/TPlusServerService.php

+ 1 - 1
app/Service/TPlusServerService.php

@@ -860,7 +860,7 @@ class TPlusServerService extends Service
 
         // 一次性查出这些员工在最大区间范围内的所有指标
         $results = EmployeeIndex::where('del_time', 0)
-            ->whereIn('type', [EmployeeIndex::TYPE_ONE, EmployeeIndex::TYPE_EIGHT])
+            ->whereIn('type', [EmployeeIndex::TYPE_ONE, EmployeeIndex::TYPE_EIGHT, EmployeeIndex::TYPE_SIX])
             ->whereIn('employee_id', $employeeIds)
             ->where('start_time', '<=', $maxEnd)
             ->where('end_time', '>=', $minStart)