bug fix #2

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

@ -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()

Loading…
Cancel
Save