修改
This commit is contained in:
parent
fc2af96f89
commit
0c748958bc
@ -634,9 +634,9 @@ func (a *AccountProvider) UserList(ctx context.Context, in *account.UserListRequ
|
||||
if in.SubNum != "" {
|
||||
modelObj.Where("sub_num like ? ", "%"+in.SubNum+"%")
|
||||
}
|
||||
if in.RealNameOrNot == 1 {
|
||||
if in.RealNameOrNot == 2 {
|
||||
modelObj.Where("status = 1 ") //未实名
|
||||
} else if in.RealNameOrNot == 2 {
|
||||
} else if in.RealNameOrNot == 1 {
|
||||
modelObj.Where("status != 1 ") //已实名
|
||||
}
|
||||
if in.Name != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user