This commit is contained in:
lin fan
2024-11-21 16:43:52 +08:00
parent 02f57eec44
commit 385f89098c
+1 -1
View File
@@ -251,7 +251,7 @@ class Score extends Wxapp
//跟进能力
$where_max = $where = [
'status>=' => 0,
"id in (select DISTINCT customer_id from lc_receiver_customer_oplogs where c_time>={$ts_s_time} and c_time<={$ts_e_time} and cf_platform like 'wxapp' and log like '%跟进方式')" => null
"id in (select DISTINCT customer_id from lc_receiver_customer_oplogs where c_time>={$ts_s_time} and c_time<={$ts_e_time} and cf_platform like 'wxapp' and log like '跟进方式%')" => null
];
$where_max["biz_id in ($biz_id_arr)"] = null;
$max = $this->customers_model->count($where_max);