shish 3 лет назад
Родитель
Сommit
541c6b0e6a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-pt/controllers/TestController.php

+ 1 - 1
app-pt/controllers/TestController.php

@@ -120,7 +120,7 @@ class TestController extends PublicController
                             }
                             //每个客服收的明细
                             if (isset($incomeList['kfWx']['class'][$getStaffId]['itemList']['ls'])) {
-                                $incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['amount'] = floatval(bcadd($incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['amount'], $actPrice, 2));
+                                $incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['amount'] = floatval(bcadd($incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['amount'], $currentAmount, 2));
                                 $incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['num'] = bcadd($incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['num'], 1);
                             }
                             break;