Răsfoiți Sursa

胡庆余堂

cqp 7 luni în urmă
părinte
comite
bb0f7f7caf
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      app/Service/StatisticsService.php

+ 1 - 1
app/Service/StatisticsService.php

@@ -123,7 +123,7 @@ class StatisticsService extends Service
         foreach ($employee as $key => $value){
             //设置的人员在时间段内的总工时
             $set_total_hours = $employee_hours_map[$value['id']] ?? 0;
-            $hours = bcmul(bcdiv($set_total_hours,$day),8);
+            $hours = bcmul($day,8);
             $employee[$key]['set_total_hours'] = $hours;
             //汇总研发工时单里的总工时
             $rd_total_hours = $employee_map[$value['id']] ?? 0;