| | |
| | | package com.kidgrow.usercenter.service; |
| | | |
| | | import com.kidgrow.usercenter.model.SysDepartment; |
| | | import com.kidgrow.common.model.PageResult; |
| | | import com.kidgrow.common.model.ResultBody; |
| | | import com.kidgrow.common.service.ISuperService; |
| | | import com.kidgrow.usercenter.model.SysDepartment; |
| | | |
| | | import java.util.Map; |
| | | |
| | |
| | | */ |
| | | PageResult<SysDepartment> findList(Map<String, Object> params); |
| | | |
| | | |
| | | /** |
| | | * 根据SysDepartment对象当做查询条件进行查询 |
| | | * @param sysDepartment |
| | | * @return SysDepartment对象 |
| | | */ |
| | | SysDepartment findByObject(SysDepartment sysDepartment); |
| | | |
| | | ResultBody findAll(Map<String, Object> params); |
| | | |
| | | ResultBody findListByHospitalId(Map<String, Object> params); |
| | | /** |
| | | *检查指定医院下是否已经存在该名称的科室 |
| | | * @param hosId |
| | | * @param departmentName |
| | | * @return 如果返回空则视为不存在 |
| | | */ |
| | | String checkDepartmentName(Long hosId,String departmentName); |
| | | } |
| | | |