Commit c5289018 by guanzhenshan

1、调整拦截订单接口

2、调整ebay销售统计的汇损比例为2.5%
parent f1fb5029
......@@ -4692,7 +4692,7 @@ namespace Bailun.DC.Services
if (end.HasValue)
{
sql += " and paid_time<@end";
sqlparam.Add("end", end.Value.AddDays(1));
sqlparam.Add("end", end.Value);
}
if (!string.IsNullOrEmpty(platform))
......
......@@ -2403,6 +2403,11 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
withdrawpercent = objwithdraw.Loss_withdrawal_percent.Value;
}
if (platform.ToLower() == "ebay") //ebay的汇损为2.5%
{
withdrawpercent = 0.025m;
}
var obj = _services.ListEbayStatisticsByWebsite(request, platform, website, selleraccount, start, end, warehousetype, warehousecode, companyid, ref total, skucategoryids);
var countM = _services.ListEbayStatisticsCount(platform, website, selleraccount, start, end, warehousetype, warehousecode, companyid, skucategoryids);
......
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