From 18a8fab394f764e5b30c48c8e0d6887ef7d44cbf Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 29 十月 2024 14:22:49 +0800 Subject: [PATCH] 取消拆单 --- CoreCms.Net.Web.Admin/Controllers/Order/CoreCmsPlanOrderController.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/CoreCms.Net.Web.Admin/Controllers/Order/CoreCmsPlanOrderController.cs b/CoreCms.Net.Web.Admin/Controllers/Order/CoreCmsPlanOrderController.cs index ba42d3f..5a59362 100644 --- a/CoreCms.Net.Web.Admin/Controllers/Order/CoreCmsPlanOrderController.cs +++ b/CoreCms.Net.Web.Admin/Controllers/Order/CoreCmsPlanOrderController.cs @@ -260,8 +260,9 @@ { where = where.And(p => p.isdelete == false); } + OtherData otherData = new OtherData(); //鑾峰彇鏁版嵁 - var list = await _CoreCmsPlanOrderServices.QueryPageAsync(where, orderEx, orderBy, pageCurrent, pageSize, true); + var list = await _CoreCmsPlanOrderServices.QueryPageAsync(where, orderEx, orderBy, otherData, pageCurrent, pageSize, true); if (list != null && list.Count > 0) { @@ -278,6 +279,12 @@ jm.code = 0; jm.count = list.TotalCount; jm.msg = "鏁版嵁璋冪敤鎴愬姛!"; + + otherData.heji1 = list.Sum(x => x.oldOrderAmount); + otherData.heji2 = list.Sum(x => x.orderAmount); + otherData.heji3 = list.Sum(x => x.keYongAmount); + jm.otherData = otherData; + return jm; } #endregion -- Gitblit v1.9.1