|
|
|
|
|
|
116
|
$contractLastNum = (int)$resLastCount[3]['count1'] ?: 0;
|
116
|
$contractLastNum = (int)$resLastCount[3]['count1'] ?: 0;
|
|
117
|
$businessLastMoneyNum = $resLastCount[2]['count2'] ?: 0;
|
117
|
$businessLastMoneyNum = $resLastCount[2]['count2'] ?: 0;
|
|
118
|
$contractLastMoneyNum = $resLastCount[3]['count2'] ?: 0;
|
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
|
$data = [];
|
121
|
$data = [];
|
|
122
|
$data['data']['customerNum'] = $customerNum;
|
122
|
$data['data']['customerNum'] = $customerNum;
|
|
123
|
$data['prev']['customerNum'] = $this->getProportion($customerNum, $customerLastNum);
|
123
|
$data['prev']['customerNum'] = $this->getProportion($customerNum, $customerLastNum);
|