소스 검색

封装的报表类方法

gogs 2 달 전
부모
커밋
44979393c6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Service/BIService.php

+ 1 - 1
app/Service/BIService.php

@@ -340,7 +340,7 @@ class BIService extends Service
             }
             }
             $total = bcadd($total, $total_min,2);
             $total = bcadd($total, $total_min,2);
         }
         }
-
+        $return = [];
         foreach ($map as $key => $value){
         foreach ($map as $key => $value){
             $rate = bcmul(bcdiv($value, $total,4),100,2);
             $rate = bcmul(bcdiv($value, $total,4),100,2);
             $total_hours = bcdiv($value, 60, 2);
             $total_hours = bcdiv($value, 60, 2);