【修复】修复订单金额满xx减,设置多种条件的情况下,参开启排他后,所有订单优惠金额无效的问题。

This commit is contained in:
大灰灰
2022-11-04 03:22:19 +08:00
parent 6e35ffb357
commit 9c96fb0538
2 changed files with 6 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ namespace CoreCms.Net.Web.Admin.Controllers
"isAutoReceive" => p => p.isAutoReceive,
"isEnable" => p => p.isEnable,
"isDel" => p => p.isDel,
_ => p => p.id
_ => p => p.sort
};
//设置排序方式
var orderDirection = Request.Form["orderDirection"].FirstOrDefault();
@@ -121,7 +121,7 @@ namespace CoreCms.Net.Web.Admin.Controllers
{
"asc" => OrderByType.Asc,
"desc" => OrderByType.Desc,
_ => OrderByType.Desc
_ => OrderByType.Asc
};
//查询筛选