修正审核列表问题
This commit is contained in:
parent
5ea6f1d92c
commit
f4e1ab3c4f
@ -247,7 +247,7 @@ func (r *UserDoctorDao) GetUserDoctorPendingPageSearch(p requests.GetUserDoctorP
|
|||||||
if p.IdenAuthStatus != nil {
|
if p.IdenAuthStatus != nil {
|
||||||
query = query.Where("iden_auth_status = ?", p.IdenAuthStatus)
|
query = query.Where("iden_auth_status = ?", p.IdenAuthStatus)
|
||||||
} else {
|
} else {
|
||||||
query = query.Where("iden_auth_status IN ?", []string{"2", "3"})
|
query = query.Where("iden_auth_status IN ?", []string{"2"})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 医院名称
|
// 医院名称
|
||||||
@ -306,7 +306,7 @@ func (r *UserDoctorDao) GetUserDoctorMultiPageSearch(p requests.GetMultiPage, pa
|
|||||||
if p.MultiPointStatus != nil {
|
if p.MultiPointStatus != nil {
|
||||||
query = query.Where("multi_point_status = ?", p.MultiPointStatus)
|
query = query.Where("multi_point_status = ?", p.MultiPointStatus)
|
||||||
} else {
|
} else {
|
||||||
query = query.Where("multi_point_status IN ?", []string{"2", "3"})
|
query = query.Where("multi_point_status IN ?", []string{"2"})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 医院名称
|
// 医院名称
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user