1
This commit is contained in:
parent
ca3bbaf77b
commit
80e3c1cdde
@ -123,7 +123,7 @@ func (r *DoctorAccountDao) GetDoctorAccountPage(req requests.GetDoctorAccountPag
|
|||||||
|
|
||||||
// 用户名称
|
// 用户名称
|
||||||
if req.UserName != "" {
|
if req.UserName != "" {
|
||||||
subQuery := global.Db.Model(&model.User{}).
|
subQuery := global.Db.Model(&model.UserDoctor{}).
|
||||||
Select("doctor_id").
|
Select("doctor_id").
|
||||||
Where("user_name LIKE ?", "%"+req.UserName+"%")
|
Where("user_name LIKE ?", "%"+req.UserName+"%")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user