新增问诊病例接口查询,修改问诊订单详情问诊病例返回数据

This commit is contained in:
2023-09-15 16:20:07 +08:00
parent 744fb8d067
commit a0b7726115
6 changed files with 145 additions and 18 deletions
+4
View File
@@ -198,6 +198,10 @@ func (r *UserDoctorDao) GetUserDoctorPageSearch(getUserDoctorPage requests.GetUs
query = query.Where("is_platform_deep_cooperation = ?", getUserDoctorPage.IsPlatformDeepCooperation)
}
if getUserDoctorPage.IsSysDiagnoCooperation != nil {
query = query.Where("is_sys_diagno_cooperation = ?", getUserDoctorPage.IsSysDiagnoCooperation)
}
// 查询总数量
if err := query.Count(&totalRecords).Error; err != nil {
return nil, 0, err