Commit 3b2d5d47 by guanzhenshan

增加总计功能

parent 9244e21a
...@@ -9565,6 +9565,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers ...@@ -9565,6 +9565,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
{ {
platform_type = "合计", platform_type = "合计",
currency = "", currency = "",
website = "",
financecategoryname = "", financecategoryname = "",
amount = website.Sum(a => a.amount), amount = website.Sum(a => a.amount),
month = website.FirstOrDefault().month, month = website.FirstOrDefault().month,
...@@ -9572,6 +9573,16 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers ...@@ -9572,6 +9573,16 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
} }
} }
result.Add(new dc_month_shipping_incoming
{
platform_type = "总计",
currency = "",
website = "",
financecategoryname = "",
amount = list.Sum(a => a.amount),
month = list.FirstOrDefault().month,
});
return Json(new return Json(new
{ {
......
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