添加国籍筛选
This commit is contained in:
parent
b244f85a57
commit
4b7e529b7c
File diff suppressed because it is too large
Load Diff
@ -186,6 +186,7 @@ message UserListRequest{
|
||||
uint64 pageSize = 9;
|
||||
string blurNameTel = 10;
|
||||
repeated int64 ids = 11;
|
||||
string nationality = 12;
|
||||
}
|
||||
message UserInfoResponse{
|
||||
uint64 id = 1;
|
||||
|
@ -1,8 +1,8 @@
|
||||
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-triple v1.0.8
|
||||
// - protoc v4.22.0--rc2
|
||||
// source: accountFiee.proto
|
||||
// - protoc v4.24.0--rc1
|
||||
// source: api/accountFiee/accountFiee.proto
|
||||
|
||||
package accountFiee
|
||||
|
||||
@ -3074,5 +3074,5 @@ var AccountFiee_ServiceDesc = grpc_go.ServiceDesc{
|
||||
},
|
||||
},
|
||||
Streams: []grpc_go.StreamDesc{},
|
||||
Metadata: "accountFiee.proto",
|
||||
Metadata: "api/accountFiee/accountFiee.proto",
|
||||
}
|
||||
|
@ -668,6 +668,9 @@ func (a *AccountFieeProvider) UserList(ctx context.Context, in *account.UserList
|
||||
if in.Name != "" {
|
||||
modelObj.Where("RealName.name like ? ", "%"+in.Name+"%")
|
||||
}
|
||||
if in.Nationality != "" {
|
||||
modelObj.Where("RealName.nationality like ? ", "%"+in.Nationality+"%")
|
||||
}
|
||||
if in.DocumentType != 0 {
|
||||
modelObj.Where("RealName.document_type = ? ", in.DocumentType)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user