package com.mindskip.xzs.repository; import com.mindskip.xzs.domain.TaskExam; import com.mindskip.xzs.viewmodel.admin.task.TaskPageRequestVM; import org.apache.ibatis.annotations.Mapper; import java.util.List; /** * @version 2.2.0 * @description: 任务 * Copyright (C), 2020-2021, 武汉思维跳跃科技有限公司 * @date 2021 /9/7 9:45 */ @Mapper public interface TaskExamMapper extends BaseMapper { int deleteByPrimaryKey(Integer id); int insert(TaskExam record); int insertSelective(TaskExam record); TaskExam selectByPrimaryKey(Integer id); int updateByPrimaryKeySelective(TaskExam record); int updateByPrimaryKey(TaskExam record); /** * 任务分页 * * @param requestVM the request vm * @return the list */ List page(TaskPageRequestVM requestVM); /** * 根据年级获取任务 * * @param gradeLevel the grade level * @return the by grade level */ List getByGradeLevel(Integer gradeLevel); }