Commit c81230bc authored by 吴春's avatar 吴春

提交代码

parent e6c049f0
......@@ -203,7 +203,7 @@ select * from RB_Member_User where {where} order by CreateDate desc
if (!string.IsNullOrEmpty(dmodel.AliasName))
{
where += $@" and ({nameof(RB_Member_User.Name)} like '%{dmodel.AliasName}%' or {nameof(RB_Member_User.Moblie)} like '%{dmodel.Moblie}%' or {nameof(RB_Member_User.Id)} like '%{dmodel.Id}%')";
where += $@" and ({nameof(RB_Member_User.Name)} like '%{dmodel.AliasName}%' or {nameof(RB_Member_User.Moblie)} like '%{dmodel.AliasName}%' or {nameof(RB_Member_User.Id)} like '%{dmodel.AliasName}%')";
}
if (dmodel.Source > 0)
{
......
......@@ -2013,7 +2013,7 @@ namespace Mall.WebApi.Controllers.User
var result = list.Select(x => new
{
x.Id,
x.AliasName,
AliasName= x.Name,
x.Moblie,
x.Photo
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment