diff --git a/api/controllers/plan/Report.php b/api/controllers/plan/Report.php index 6c290ca8..7731094f 100644 --- a/api/controllers/plan/Report.php +++ b/api/controllers/plan/Report.php @@ -60,7 +60,7 @@ class Report extends HD_Controller $cust_new = $this->receiver_customers_model->count(array('biz_id' => $v['id'], 'DATE(p_time)' => $day)); //本月线索总数 - $cust_month = $this->receiver_customers_model->count(array('biz_id' => $v['id'], "DATE_FORMAT(`p_time`, '%Y-%m') = '{$month}'" => nul)); + $cust_month = $this->receiver_customers_model->count(array('biz_id' => $v['id'], "DATE_FORMAT(`p_time`, '%Y-%m') = '{$month}'" => null)); //今日新增跟进数