Browse Source

封装的报表类方法

gogs 2 months ago
parent
commit
44979393c6
1 changed files with 1 additions and 1 deletions
  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);
         }
-
+        $return = [];
         foreach ($map as $key => $value){
             $rate = bcmul(bcdiv($value, $total,4),100,2);
             $total_hours = bcdiv($value, 60, 2);