Commit bb442069 authored by liudong1993's avatar liudong1993

1

parent 9fe7ca79
......@@ -13,6 +13,10 @@ namespace Mall.Model.Extend.User
[DB(ConnectionName = "DefaultConnection")]
public class RB_Member_User_Extend : RB_Member_User
{
/// <summary>
/// 是否查询电商利润 1是
/// </summary>
public int? IsSelectCommpany { get; set; }
/// <summary>
/// 是否用户头像为空 1是 2否
/// </summary>
......
......@@ -63,6 +63,9 @@ namespace Mall.Repository.User
{
where += $@" and {nameof(RB_Member_User.OpenId)} = '%{dmodel.OpenId}%'";
}
if (dmodel.IsSelectCommpany == 1) {
where += $@" and {nameof(RB_Member_User.Id)} between 5 and 100 ";
}
string orderBy = "CreateDate desc";
if (dmodel.MinUserId > 0)
{
......
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