新增搜索
This commit is contained in:
@@ -191,7 +191,11 @@ func (r *UserDoctorDao) GetUserDoctorPageSearch(getUserDoctorPage requests.GetUs
|
||||
query = query.Order("created_at desc")
|
||||
|
||||
if getUserDoctorPage.IsEnterpriseDeepCooperation != nil {
|
||||
query = query.Where("doctor_title = ?", getUserDoctorPage.DoctorTitle)
|
||||
query = query.Where("is_enterprise_deep_cooperation = ?", getUserDoctorPage.IsEnterpriseDeepCooperation)
|
||||
}
|
||||
|
||||
if getUserDoctorPage.IsPlatformDeepCooperation != nil {
|
||||
query = query.Where("is_platform_deep_cooperation = ?", getUserDoctorPage.IsPlatformDeepCooperation)
|
||||
}
|
||||
|
||||
// 查询总数量
|
||||
|
||||
Reference in New Issue
Block a user