From 02f57eec4479e6f530aa21d829a34e2474f383ea Mon Sep 17 00:00:00 2001 From: lin fan Date: Thu, 21 Nov 2024 16:42:50 +0800 Subject: [PATCH] 1 --- api/controllers/wxapp/licheb/Score.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/wxapp/licheb/Score.php b/api/controllers/wxapp/licheb/Score.php index 11f87ae1..4ed2bca6 100644 --- a/api/controllers/wxapp/licheb/Score.php +++ b/api/controllers/wxapp/licheb/Score.php @@ -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' and log like '%跟进方式')" => null ]; $where_max["biz_id in ($biz_id_arr)"] = null; $max = $this->customers_model->count($where_max);