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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import yangtz.cs.liu.campus.domain.teacher.SchoolTeacherOvertime;
import yangtz.cs.liu.campus.vo.teacher.SchoolTeacherOvertimeVO;

import java.util.List;

@Mapper
public interface SchoolTeacherOvertimeMapper extends BaseMapper<SchoolTeacherOvertime> {
    /**
     * 查询老师加班列表
     */
    List<SchoolTeacherOvertimeVO> selectSchoolTeacherOvertimeList(@Param("submitState") String submitState,@Param("entity") SchoolTeacherOvertimeVO schoolTeacherOvertimeVO);

    /*
    * 根据老师id级联删除
    * */
    int removeSchoolTeacherOvertimeByIds(List<Long> ids);

    /*
    * 根据id删除
    * */
    int removeSchoolTeacherOvertimeById(List<Long> ids);
}
