sql=$@"select sum(t1.other_to_cny_money) amount,t2.english_name as platform_type from dc_base_finance_cashierdetail t1
sql=$@"select sum(t1.exchange_money*other_to_cny_exchange_rate) amount,t2.english_name as platform_type from dc_base_finance_cashierdetail t1
join dc_base_finance_salesplatform t2 on t1.salesl_platform=t2.platform_id and t2.platform_id!=100
join dc_base_finance_salesplatform t2 on t1.salesl_platform=t2.platform_id and t2.platform_id!=100
where t1.status=2 and daozhang_time>='{day.ToString("yyyy-MM-dd")}' and daozhang_time<'{day.AddDays(1).ToString("yyyy-MM-dd")}' group by salesl_platform";
where createTime>='{day.ToString("yyyy-MM-dd")}' and createTime<'{day.AddDays(1).ToString("yyyy-MM-dd")}' group by salesl_platform";