【优化】导出订单信息里加产品编号,方便产品多的情况下,可以获取到订单的购买商品序列,去直接查询商品信息。

【优化】商品列表增加可按序列查询的筛选。
This commit is contained in:
大灰灰
2022-08-09 00:05:05 +08:00
parent 55d7759651
commit 267621872f
3 changed files with 12 additions and 4 deletions

View File

@@ -230,6 +230,9 @@ namespace CoreCms.Net.Web.Admin.Controllers
};
//查询筛选
//商品序列
var id = Request.Form["id"].FirstOrDefault().ObjectToInt(0);
if (id > 0) @where = @where.And(p => p.id == id);
//商品编码 nvarchar
var bn = Request.Form["bn"].FirstOrDefault();
if (!string.IsNullOrEmpty(bn)) @where = @where.And(p => p.bn.Contains(bn));