Browse Source

update application/crm/logic/IndexLogic.php.

Miss 5 years ago
parent
commit
81ea6d2823
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      application/crm/logic/IndexLogic.php

+ 2
- 2
application/crm/logic/IndexLogic.php View File

@@ -116,8 +116,8 @@ class IndexLogic extends Common
116 116
         $contractLastNum = (int)$resLastCount[3]['count1'] ?: 0;
117 117
         $businessLastMoneyNum = $resLastCount[2]['count2'] ?: 0;
118 118
         $contractLastMoneyNum = $resLastCount[3]['count2'] ?: 0;
119
-        $receivablesLastMoneyNum = $resLastCount[4]['count'] ?: 0;
120
-        $recordLastNum = (int)$resLastCount[5]['count'] ?: 0;
119
+        $receivablesLastMoneyNum = $resLastCount[4]['count1'] ?: 0;
120
+        $recordLastNum = (int)$resLastCount[5]['count1'] ?: 0;
121 121
         $data = [];
122 122
         $data['data']['customerNum'] = $customerNum;
123 123
         $data['prev']['customerNum'] = $this->getProportion($customerNum, $customerLastNum);