shish 3 years ago
parent
commit
541c6b0e6a
1 changed files with 1 additions and 1 deletions
  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'])) {
                             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);
                                 $incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['num'] = bcadd($incomeList['kfWx']['class'][$getStaffId]['itemList']['ls']['num'], 1);
                             }
                             }
                             break;
                             break;