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