package com.ruoyi.os.mapper;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.os.domain.HealthcareOsPatientInfo;
import com.ruoyi.os.domain.StudentInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.poi.poifs.crypt.dsig.SignatureInfo;

import java.util.List;


@Mapper
public interface StudentInfoMapper {

    /**
     *   根据学生ID查询学生信息
     */
    @DataSource(value = DataSourceType.SLAVE)
    public StudentInfo selectStudentInfoByStudentId(String studentId);


    /**
     *    查询学生信息列表
     */
    @DataSource(value = DataSourceType.SLAVE)
    public List<StudentInfo> selectStudentInfoList(StudentInfo studentInfo);

    @DataSource(value = DataSourceType.SLAVE)
    List<HealthcareOsPatientInfo> getTeachingStaffInfo(HealthcareOsPatientInfo healthcareOsPatientInfo);
}
