cqp 3 周之前
父節點
當前提交
b3fb320d85
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Service/StatisticsService.php

+ 2 - 2
app/Service/StatisticsService.php

@@ -372,8 +372,8 @@ class StatisticsService extends Service
     }
 
     private function makeShouldPay($value, &$data){
-        $index_1 = bcdiv($value['index_1'],100,2);
-        $index_5 = bcdiv($value['index_5'],100,2);
+        $index_1 = bcdiv($data['index_1'],100,2);
+        $index_5 = bcdiv($data['index_5'],100,2);
         // 分红比例/2
         $a = bcdiv($index_5,2,2);
         // 回款金额*季度预支分红比例/2