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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import yangtz.cs.liu.campus.domain.teacher.SchoolTeacherAttendance;
import yangtz.cs.liu.wechat.vo.attendance.TeacherAttendanceVO;
import yangtz.cs.liu.wechat.vo.attendance.TeacherSignVO;

import java.util.List;

@Mapper
public interface SchoolTeacherAttendanceMapper extends BaseMapper<SchoolTeacherAttendance> {

    List<SchoolTeacherAttendance> SchoolTeacherAttendanceList(SchoolTeacherAttendance teacherAttendance);
    //        获取出勤列表
    List<SchoolTeacherAttendance> getAttendanceList(TeacherAttendanceVO teacherAttendanceVO);
    //        获取未出勤列表
    List<SchoolTeacherAttendance> getUnAttendanceList(TeacherAttendanceVO teacherAttendanceVO);
    //    获取单个出勤信息
    SchoolTeacherAttendance getAttendanceInfo(SchoolTeacherAttendance schoolTeacherAttendance);

    /*
     * 获取当天的考勤信息
     * */
    TeacherSignVO getToDayAttendance(SchoolTeacherAttendance attendance);

}
