This commit is contained in:
lin fan
2024-11-21 16:40:38 +08:00
parent 8c920464b5
commit 6556f015df
+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')" => 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')" => null
];
$where_max["biz_id in ($biz_id_arr)"] = null;
$max = $this->customers_model->count($where_max);