| | |
| | | package com.sinata.system.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.sinata.system.domain.SysDepartment; |
| | | import com.sinata.system.domain.vo.DisposalUnitVO; |
| | | import com.sinata.system.domain.vo.MedicalInstitutionVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @Mapper |
| | | public interface SysDepartmentMapper extends BaseMapper<SysDepartment> { |
| | | /** |
| | | * 根据类型查询用户区域列表 |
| | | * 查询用户区域列表 |
| | | * @param userId |
| | | * @param type |
| | | * @return |
| | | */ |
| | | SysDepartment getDepartmentByUserId(@Param("userId") Long userId); |
| | | |
| | | /** |
| | | * 根据类型查询机构列表 |
| | | * |
| | | * @param medicalInstitutionVOPage |
| | | * @param departmentName |
| | | * @param contactPerson |
| | | * @param contactPhone |
| | | * @param treeCode |
| | | * @return |
| | | */ |
| | | Page<MedicalInstitutionVO> pageMedicalList(Page<MedicalInstitutionVO> medicalInstitutionVOPage, @Param("departmentName") String departmentName, @Param("contactPerson") String contactPerson, @Param("contactPhone") String contactPhone, @Param("treeCode") String treeCode); |
| | | |
| | | /** |
| | | * 查询医疗机构详情 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | MedicalInstitutionVO getMedicalDetailById(Long id); |
| | | |
| | | /** |
| | | * 根据treeCode查询处置单位列表 |
| | | * |
| | | * @param treeCode |
| | | * @return |
| | | */ |
| | | List<DisposalUnitVO> getDisposalUnitListByTreeCode(String treeCode); |
| | | |
| | | /** |
| | | * 处置单位分页列表 |
| | | * |
| | | * @param page |
| | | * @param departmentName |
| | | * @param contactPerson |
| | | * @param contactPhone |
| | | * @param treeCode |
| | | * @return |
| | | */ |
| | | Page<DisposalUnitVO> pageRegulatoryUnitList(Page<DisposalUnitVO> page, @Param("departmentId") Long departmentId, @Param("departmentName") String departmentName, @Param("contactPerson") String contactPerson, @Param("contactPhone") String contactPhone, @Param("treeCode") String treeCode); |
| | | |
| | | /** |
| | | * 处置单位详情 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | DisposalUnitVO getDisposalUnitDetailById(@Param("id") Long id); |
| | | } |