package com.lantone.security.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lantone.security.dto.GetDataAuthHospitalDTO;
import com.lantone.security.dto.GetHospitalListInfoDTO;
import com.lantone.security.dto.GetHospitalTreeDTO;
import com.lantone.security.vo.GetHospitalListInfoVO;
import com.lantone.security.entity.Hospital;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 表名：sys_hospital Mapper接口
 * </p>
 */
public interface HospitalMapper extends BaseMapper<Hospital> {

    List<GetHospitalTreeDTO> getHospitalTreeInfo(@Param("hospitalId") long hospitalId,@Param("status")String status);

    List<GetHospitalListInfoDTO> getHospitalById(@Param("getHospitalListInfoVO") GetHospitalListInfoVO getHospitalListInfoVO);

    List<GetDataAuthHospitalDTO> getHospitals(@Param("hospitalIds") List<Long> hospitalIds);

}