package yangtz.cs.liu.campus.mapper.student;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.entity.SchoolTeacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import yangtz.cs.liu.campus.domain.student.SchoolStudentLeave;
import yangtz.cs.liu.campus.vo.student.StudentLeaveVO;
import yangtz.cs.liu.wechat.vo.student.SchoolStudentLeaveVo;

import java.util.List;

@Mapper
public interface SchoolStudentLeaveMapper extends BaseMapper<SchoolStudentLeave> {
    List<StudentLeaveVO> queryList(@Param("submitState") String submitState, @Param("entity") StudentLeaveVO studentLeave);

    SchoolStudentLeaveVo getInfo(Long studentId);

    List<SchoolTeacher> getGradeLeader(@Param("gradeId") Long gradeId, @Param("gradeleader") String gradeleader);
}
