From 8f3e7a1249fb463011661455a5c2ddc6bce5ddf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=90=8C?= <494089941@qq.com> Date: Mon, 6 Mar 2023 14:34:03 +0800 Subject: [PATCH] bug fix --- application/crm/logic/MessageLogic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/crm/logic/MessageLogic.php b/application/crm/logic/MessageLogic.php index add0834..c6240b0 100644 --- a/application/crm/logic/MessageLogic.php +++ b/application/crm/logic/MessageLogic.php @@ -282,8 +282,8 @@ class MessageLogic extends Common $param['check_status'] = ['lt', 2]; $param['check_user_id'] = ['like', '%,'. $param['user_id'] .',%']; # 要提醒的商机ID - $businessIdArray = db('crm_dealt_relation')->where(['types' => ['eq', 'crm_customer_check'], 'user_id' => ['eq', $param['user_id']]])->column('types_id'); - $param['businessIdArray'] = !empty($businessIdArray) ? $businessIdArray : -1; + $customerCheckIdArray = db('crm_dealt_relation')->where(['types' => ['eq', 'crm_customer_check'], 'user_id' => ['eq', $param['user_id']]])->column('types_id'); + $param['customerCheckIdArray'] = !empty($customerCheckIdArray) ? $customerCheckIdArray : -1; break; case '2' : # 全部