Sfoglia il codice sorgente

update application/crm/logic/IndexLogic.php.

Miss 5 anni fa
parent
commit
81ea6d2823
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      application/crm/logic/IndexLogic.php

+ 2
- 2
application/crm/logic/IndexLogic.php Vedi 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);