bug fix #13

Merged
mengfucius merged 1 commits from zm into master 2 years ago

@ -282,8 +282,8 @@ class MessageLogic extends Common
$param['check_status'] = ['lt', 2]; $param['check_status'] = ['lt', 2];
$param['check_user_id'] = ['like', '%,'. $param['user_id'] .',%']; $param['check_user_id'] = ['like', '%,'. $param['user_id'] .',%'];
# 要提醒的商机ID # 要提醒的商机ID
$businessIdArray = db('crm_dealt_relation')->where(['types' => ['eq', 'crm_customer_check'], 'user_id' => ['eq', $param['user_id']]])->column('types_id'); $customerCheckIdArray = 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; $param['customerCheckIdArray'] = !empty($customerCheckIdArray) ? $customerCheckIdArray : -1;
break; break;
case '2' : case '2' :
# 全部 # 全部

Loading…
Cancel
Save