From 6556f015df6ce717c52a916e560ca61e11d4ad29 Mon Sep 17 00:00:00 2001 From: lin fan Date: Thu, 21 Nov 2024 16:40:38 +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 6c941fd4..11f87ae1 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')" => null ]; $where_max["biz_id in ($biz_id_arr)"] = null; $max = $this->customers_model->count($where_max);