Commit fbde1fd4 by zhouminghui

易可达转负数展示

parent b71aa40e
......@@ -873,6 +873,11 @@ or (is_lend=2 and cost_form=1)) and pay_time>= @start and pay_time< @end ");
x.original_amount = Math.Abs(x.original_amount);
x.total_amount_sales = Math.Abs(x.total_amount_sales);
}
if (x.platform_type.Contains("易可达") && x.website.Contains("其他收入"))
{
x.original_amount = Math.Abs(x.original_amount) * -1;
x.total_amount_sales = Math.Abs(x.total_amount_sales) * -1;
}
return x;
}).ToList();
//RedisHelper.Add<List<PlatformTypeMonthlyStatisticsDto>>($"{input.FeeName}_{input.Month.Replace("月份", "")}", data, new TimeSpan(1, 0, 0, 0));
......@@ -967,6 +972,11 @@ ON s2.id = s1.order_fee_config_id WHERE s1.month = @month ");
x.AmountVal = Math.Abs(x.AmountVal.Value);
x.AmountValRmb = Math.Abs(x.AmountValRmb.Value);
}
if (x.PlatForm.Contains("易可达") && x.WebSite.Contains("其他收入"))
{
x.AmountVal = Math.Abs(x.AmountVal.Value) * -1;
x.AmountValRmb = Math.Abs(x.AmountValRmb.Value) * -1;
}
return x;
}).ToList();
return data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment