mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 16:13:26 +08:00
【修复】修复后台门店列表成员查询条件失效的问题。
This commit is contained in:
@@ -442,6 +442,13 @@ namespace CoreCms.Net.Web.Admin.Controllers
|
||||
//序列 int
|
||||
var id = Request.Form["id"].FirstOrDefault().ObjectToInt(0);
|
||||
if (id > 0) @where = @where.And(p => p.id == id);
|
||||
|
||||
var nickName = Request.Form["nickName"].FirstOrDefault();
|
||||
if (!string.IsNullOrEmpty(nickName)) @where = @where.And(p => p.nickName.Contains(nickName));
|
||||
|
||||
var mobile = Request.Form["mobile"].FirstOrDefault();
|
||||
if (!string.IsNullOrEmpty(mobile)) @where = @where.And(p => p.mobile.Contains(mobile));
|
||||
|
||||
//店铺ID int
|
||||
var storeId = Request.Form["storeId"].FirstOrDefault().ObjectToInt(0);
|
||||
if (storeId > 0) @where = @where.And(p => p.storeId == storeId);
|
||||
|
||||
Reference in New Issue
Block a user