Commit 286bd404 by guanzhenshan

解决sku来源利润统计报表退款数据没有的问题

parent bcf7cc59
......@@ -1796,11 +1796,6 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
foreach (var item in result)
{
if (statistictype == 2)
{
item.platform_type = Enum.GetName(typeof(SkuSource), int.Parse(item.platform_type));
}
item.adfee = 0;
item.putawayfee = 0;
......@@ -1849,7 +1844,12 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
item.profit_total = (item.profit_total - item.amount_refund);
item.profit_rate = item.amount_sales!=0?Math.Round((item.profit_total / item.amount_sales), 2):0;
if (statistictype == 2)
{
item.platform_type = Enum.GetName(typeof(SkuSource), int.Parse(item.platform_type));
}
}
if (result.Count > 0)
......
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