mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 21:03:26 +08:00
【优化】导出订单信息里加产品编号,方便产品多的情况下,可以获取到订单的购买商品序列,去直接查询商品信息。
【优化】商品列表增加可按序列查询的筛选。
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user