修改日报数据脚本

This commit is contained in:
lcc
2025-01-13 16:49:22 +08:00
parent 9633771069
commit 104cb670aa
+1 -1
View File
@@ -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));
//今日新增跟进数