varsql=$"select t1.*,t2.origin_order_id,t2.bailun_order_id from dc_month_sales_profit_orderdetail t1 join dc_base_oms_sku t2 on t1.orderskuid=t2.id where t1.month='{month}' ";
if(!string.IsNullOrEmpty(financecategory))
{
sql+=$" and t1.financecategoryname='{financecategory}' ";