18 lines
590 B
Go
18 lines
590 B
Go
package service
|
|
|
|
type DepartmentService struct{}
|
|
|
|
// // GetDepartmentCustomList 获取自定义科室列表
|
|
// func (r *DepartmentService) GetDepartmentCustomList(departmentRequest requests.GetDepartmentCustomList) (bool, error) {
|
|
// hospitalDepartmentCustomDao := dao.HospitalDepartmentCustom{}
|
|
//
|
|
// maps := make(map[string]interface{})
|
|
// if departmentRequest.DepartmentId != "" {
|
|
// maps["department_id"] = departmentRequest.DepartmentId
|
|
// }
|
|
// hospitalDepartmentCustom, err := hospitalDepartmentCustomDao.GetHospitalDepartmentCustomList(maps)
|
|
// if err != nil {
|
|
//
|
|
// }
|
|
// }
|