pull/2/head
张萌 2 years ago
parent e8e2a55a89
commit 5cd16573ba

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