| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.modules.desk.entity.Notice; |
| | | import org.springblade.modules.desk.vo.NoticeVO; |
| | | import org.springblade.modules.exam.entity.ExamPaper; |
| | | import org.springblade.modules.exam.vo.ExamPaperSubjectVO; |
| | | import org.springblade.modules.exam.vo.ExamPaperVO; |
| | | |
| | | import java.util.List; |
| | |
| | | */ |
| | | public interface ExamPaperMapper extends BaseMapper<ExamPaper> { |
| | | |
| | | /** |
| | | * 前N条数据 |
| | | * |
| | | * @param number 数量 |
| | | * @return List<Notice> |
| | | */ |
| | | List<ExamPaper> topList(Integer number); |
| | | IPage<ExamPaperVO> selectExamPaperPage(IPage page, ExamPaperVO exam); |
| | | |
| | | ExamPaperSubjectVO queryPagerSubject(@Param("paper") ExamPaper paper); |
| | | |
| | | ExamPaperSubjectVO PagerSubject(@Param("paper") ExamPaper paper); |
| | | |
| | | /** |
| | | * 自定义分页 |
| | | * 自定义树 |
| | | * |
| | | * @param page 分页 |
| | | * @param exam 实体 |
| | | * @return List<NoticeVO> |
| | | * @param examPaper 试卷对象 |
| | | * @return |
| | | */ |
| | | List<ExamPaperVO> selectNoticePage(IPage page, ExamPaperVO exam); |
| | | List<ExamPaper> selectExamPaperPageTree(@Param("paper") ExamPaper examPaper); |
| | | |
| | | boolean UnbindSubject(String paperid, String subjectid); |
| | | } |