select Category,count(distinct userId) as UserCount,count(orderId) As OrderCount ,sum(PayMoney) as payMony from [ECP_Core].[dbo].[C_Fund_Detail]
where createTime>='2022-03-10'
and Category in('充值','打赏','赠礼','转入中心钱包') group by Category,CAST(CreateTime as varchar(10))