From 5cd16573babbaa9cb4d49281fc87a2f12d24431e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=90=8C?= <494089941@qq.com> Date: Fri, 17 Feb 2023 16:02:34 +0800 Subject: [PATCH] bug fix --- application/crm/model/Business.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/crm/model/Business.php b/application/crm/model/Business.php index f6bf670..794498b 100644 --- a/application/crm/model/Business.php +++ b/application/crm/model/Business.php @@ -718,7 +718,7 @@ class Business extends Common 'SUM(CASE WHEN is_end = 2 THEN money ELSE 0 END) AS sum_shu', 'count(if (is_end = 1,true,null)) as count_ying', 'count(if (is_end = 2,true,null)) as count_shu', - 'type_id' +// 'type_id' ]) ->where($map) ->fetchSql()