New file |
| | |
| | | package com.kidgrow.usercenter.service; |
| | | |
| | | 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; |
| | | |
| | | /** |
| | | * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br> |
| | | * @Description: 科室表<br> |
| | | * @Project: 用户中心<br> |
| | | * @CreateDate: Created in 2020-04-02 14:02:50 <br> |
| | | * @Author: <a href="4345453@kidgrow.com">liuke</a> |
| | | * @version 1.0 |
| | | */ |
| | | public interface ISysDepartmentService extends ISuperService<SysDepartment> { |
| | | /** |
| | | * 列表 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | 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); |
| | | } |
| | | |