增加月开工率
This commit is contained in:
@@ -96,6 +96,8 @@ class Report extends HD_Controller
|
||||
|
||||
//今日线索逾期数
|
||||
$cust_delay = $this->receiver_score_log_model->count(array('day' => $day, 'biz_id' => $v['id'], 'type' => 3, 'sub_type' => 3, 'target_id >' => 0));
|
||||
//本月开工
|
||||
$works_month = $this->receiver_score_log_model->count(array('MONTH(day)' => $month, 'biz_id' => $v['id'], 'type' => 0, 'sub_type' => 0, 'score >' => 0));
|
||||
|
||||
//本月线索逾期数
|
||||
$cust_delay_month = $this->receiver_score_log_model->count(array('MONTH(day)' => $month, 'biz_id' => $v['id'], 'type' => 3, 'sub_type' => 3, 'target_id >' => 0));
|
||||
@@ -143,6 +145,7 @@ class Report extends HD_Controller
|
||||
'order_early' => $order_early,
|
||||
'score' => round($score['score']),
|
||||
|
||||
'work_per_month' => number_format($works_month / $sales, 2) * 100,
|
||||
'cust_month' => $cust_month,
|
||||
'cust_push_month' => $cust_push_month,
|
||||
'cust_visit_month' => $cust_visit_month,
|
||||
|
||||
Reference in New Issue
Block a user