package cn.besteam.modules.system.mapper; import cn.besteam.modules.report.dto.MedicalReportDTO; import cn.besteam.modules.system.entity.SysDepartmentInformation; import cn.besteam.modules.system.vo.SysDepartmentInformationReportVO; import cn.besteam.modules.system.vo.SysDepartmentInformationVO; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; /** * 医疗机构信息 */ @Repository public interface SysDepartmentInformationMapper extends BaseMapper { /** * 根据医院id获取医院信息 * * @param departmentId * @return */ SysDepartmentInformationVO queryOne(@Param("departmentId") Integer departmentId); /** * 根据医院id获取是否完善医院信息 * @param departmentId * @return */ Integer queryOneCount(@Param("departmentId")Integer departmentId); /** * 根据区域获取医院基本信息 * @param dto * @return */ List getDepartmentInformationList(@Param("dto") MedicalReportDTO dto); /** * 获取医院科室,有部门的科室数量 * @return */ List> getDepartmentNumber(@Param("treeCode") String treeCode); }