select count(1) project_all_count,0 project_investment_total, 0 project_investment_regular,0 partner_count from partner_project_info where status in (1,2,4,5,6,7,8,9,10,11,12,13,14,15)
union all
select 0 project_all_count,sum(project_investment_total) project_investment_total, 0 project_investment_regular,0 partner_count from partner_project_info
union all
select 0 project_all_count,0 project_investment_total, sum(project_investment_regular) project_investment_regular,0 partner_count from partner_project_info
union all
select 0 project_all_count,0 project_investment_total, 0 project_investment_regular, count(1) partner_count from sys_user
-- select count(1) project_all_count,0 project_investment_total, 0 project_investment_regular,0 partner_count from partner_project_info where status in (1,2,4,5,6,7,8,9,10,11,12,13,14,15)
-- union all
-- select 0 project_all_count,sum(project_investment_total) project_investment_total, 0 project_investment_regular,0 partner_count from partner_project_info
-- union all
-- select 0 project_all_count,0 project_investment_total, sum(project_investment_regular) project_investment_regular,0 partner_count from partner_project_info
select 0 project_all_count,0 project_investment_total, 0 project_investment_regular, count(1) partner_count from sys_user where source = 1