This commit is contained in:
lu7213 committed 2025-12-02 23:07:47 +08:00
1 parent 81eca8933a
commit 345f906c35
540 files changed
+494222 -90

No files matched your search

@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.ExamPaperItem;
import com.luqj.exam.domain.ExamPaperItemPlus;
/**
* 试卷明细Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface ExamPaperItemMapper extends BaseMapper<ExamPaperItemPlus>
{
/**
* 查询试卷明细
*
* @param id 试卷明细ID
* @return 试卷明细
*/
public ExamPaperItem selectExamPaperItemById(Long id);
/**
* 查询试卷明细列表
*
* @param examPaperItem 试卷明细
* @return 试卷明细集合
*/
public List<ExamPaperItem> selectExamPaperItemList(ExamPaperItem examPaperItem);
/**
* 新增试卷明细
*
* @param examPaperItem 试卷明细
* @return 结果
*/
public int insertExamPaperItem(ExamPaperItem examPaperItem);
/**
* 修改试卷明细
*
* @param examPaperItem 试卷明细
* @return 结果
*/
public int updateExamPaperItem(ExamPaperItem examPaperItem);
/**
* 删除试卷明细
*
* @param id 试卷明细ID
* @return 结果
*/
public int deleteExamPaperItemById(Long id);
/**
* 批量删除试卷明细
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamPaperItemByIds(Long[] ids);
}
@@ -0,0 +1,89 @@
package com.luqj.exam.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luqj.exam.domain.ExamPaper;
import com.luqj.exam.domain.ExamPaperModule;
import com.luqj.exam.domain.ExamPaperPlus;
import java.util.List;
/**
* 试卷Mapper接口
*
* @author ruoyi
* @date 2021-08-09
*/
public interface ExamPaperMapper extends BaseMapper<ExamPaperPlus> {
/**
* 查询试卷
*
* @param id 试卷ID
* @return 试卷
*/
public ExamPaper selectExamPaperById(Long id);
/**
* 查询试卷列表
*
* @param examPaper 试卷
* @return 试卷集合
*/
public List<ExamPaper> selectExamPaperList(ExamPaper examPaper);
/**
* 新增试卷
*
* @param examPaper 试卷
* @return 结果
*/
public int insertExamPaper(ExamPaper examPaper);
/**
* 修改试卷
*
* @param examPaper 试卷
* @return 结果
*/
public int updateExamPaper(ExamPaper examPaper);
/**
* 删除试卷
*
* @param id 试卷ID
* @return 结果
*/
public int deleteExamPaperById(Long id);
/**
* 批量删除试卷
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamPaperByIds(Long[] ids);
/**
* 批量删除试卷模块
*
* @param customerIds 需要删除的数据ID
* @return 结果
*/
public int deleteExamPaperModuleByPaperIds(Long[] ids);
/**
* 批量新增试卷模块
*
* @param examPaperModuleList 试卷模块列表
* @return 结果
*/
public int batchExamPaperModule(List<ExamPaperModule> examPaperModuleList);
/**
* 通过试卷ID删除试卷模块信息
*
* @param roleId 角色ID
* @return 结果
*/
public int deleteExamPaperModuleByPaperId(Long id);
}
@@ -0,0 +1,91 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.ExamPaperModule;
import com.luqj.exam.domain.ExamPaperModulePlus;
import com.luqj.exam.domain.ExamPaperItem;
/**
* 试卷模块Mapper接口
*
* @author ruoyi
* @date 2021-08-10
*/
public interface ExamPaperModuleMapper extends BaseMapper<ExamPaperModulePlus>
{
/**
* 查询试卷模块
*
* @param id 试卷模块ID
* @return 试卷模块
*/
public ExamPaperModule selectExamPaperModuleById(Long id);
/**
* 查询试卷模块列表
*
* @param examPaperModule 试卷模块
* @return 试卷模块集合
*/
public List<ExamPaperModule> selectExamPaperModuleList(ExamPaperModule examPaperModule);
/**
* 新增试卷模块
*
* @param examPaperModule 试卷模块
* @return 结果
*/
public int insertExamPaperModule(ExamPaperModule examPaperModule);
/**
* 修改试卷模块
*
* @param examPaperModule 试卷模块
* @return 结果
*/
public int updateExamPaperModule(ExamPaperModule examPaperModule);
/**
* 删除试卷模块
*
* @param id 试卷模块ID
* @return 结果
*/
public int deleteExamPaperModuleById(Long id);
/**
* 批量删除试卷模块
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamPaperModuleByIds(Long[] ids);
/**
* 批量删除试卷明细
*
* @param customerIds 需要删除的数据ID
* @return 结果
*/
public int deleteExamPaperItemByExamPaperModuleIds(Long[] ids);
/**
* 批量新增试卷明细
*
* @param examPaperItemList 试卷明细列表
* @return 结果
*/
public int batchExamPaperItem(List<ExamPaperItem> examPaperItemList);
/**
* 通过试卷模块ID删除试卷明细信息
*
* @param roleId 角色ID
* @return 结果
*/
public int deleteExamPaperItemByExamPaperModuleId(Long id);
}
@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.ExamPaperStrategyList;
import com.luqj.exam.domain.ExamPaperStrategyListPlus;
/**
* 策略子Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface ExamPaperStrategyListMapper extends BaseMapper<ExamPaperStrategyListPlus>
{
/**
* 查询策略子
*
* @param id 策略子ID
* @return 策略子
*/
public ExamPaperStrategyList selectExamPaperStrategyListById(Long id);
/**
* 查询策略子列表
*
* @param examPaperStrategyList 策略子
* @return 策略子集合
*/
public List<ExamPaperStrategyList> selectExamPaperStrategyListList(ExamPaperStrategyList examPaperStrategyList);
/**
* 新增策略子
*
* @param examPaperStrategyList 策略子
* @return 结果
*/
public int insertExamPaperStrategyList(ExamPaperStrategyList examPaperStrategyList);
/**
* 修改策略子
*
* @param examPaperStrategyList 策略子
* @return 结果
*/
public int updateExamPaperStrategyList(ExamPaperStrategyList examPaperStrategyList);
/**
* 删除策略子
*
* @param id 策略子ID
* @return 结果
*/
public int deleteExamPaperStrategyListById(Long id);
/**
* 批量删除策略子
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamPaperStrategyListByIds(Long[] ids);
}
@@ -0,0 +1,91 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.ExamPaperStrategy;
import com.luqj.exam.domain.ExamPaperStrategyPlus;
import com.luqj.exam.domain.ExamPaperStrategyList;
/**
* 试卷模板策略Mapper接口
*
* @author ruoyi
* @date 2021-07-29
*/
public interface ExamPaperStrategyMapper extends BaseMapper<ExamPaperStrategyPlus>
{
/**
* 查询试卷模板策略
*
* @param id 试卷模板策略ID
* @return 试卷模板策略
*/
public ExamPaperStrategy selectExamPaperStrategyById(Long id);
/**
* 查询试卷模板策略列表
*
* @param examPaperStrategy 试卷模板策略
* @return 试卷模板策略集合
*/
public List<ExamPaperStrategy> selectExamPaperStrategyList(ExamPaperStrategy examPaperStrategy);
/**
* 新增试卷模板策略
*
* @param examPaperStrategy 试卷模板策略
* @return 结果
*/
public int insertExamPaperStrategy(ExamPaperStrategy examPaperStrategy);
/**
* 修改试卷模板策略
*
* @param examPaperStrategy 试卷模板策略
* @return 结果
*/
public int updateExamPaperStrategy(ExamPaperStrategy examPaperStrategy);
/**
* 删除试卷模板策略
*
* @param id 试卷模板策略ID
* @return 结果
*/
public int deleteExamPaperStrategyById(Long id);
/**
* 批量删除试卷模板策略
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamPaperStrategyByIds(Long[] ids);
/**
* 批量删除策略子
*
* @param customerIds 需要删除的数据ID
* @return 结果
*/
public int deleteExamPaperStrategyListByExamPaperStrategyIds(Long[] ids);
/**
* 批量新增策略子
*
* @param examPaperStrategyListList 策略子列表
* @return 结果
*/
public int batchExamPaperStrategyList(List<ExamPaperStrategyList> examPaperStrategyListList);
/**
* 通过试卷模板策略ID删除策略子信息
*
* @param roleId 角色ID
* @return 结果
*/
public int deleteExamPaperStrategyListByExamPaperStrategyId(Long id);
}
@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.ExamQuestionCorrection;
import com.luqj.exam.domain.ExamQuestionCorrectionPlus;
/**
* 题目纠错Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface ExamQuestionCorrectionMapper extends BaseMapper<ExamQuestionCorrectionPlus>
{
/**
* 查询题目纠错
*
* @param id 题目纠错ID
* @return 题目纠错
*/
public ExamQuestionCorrection selectExamQuestionCorrectionById(Long id);
/**
* 查询题目纠错列表
*
* @param examQuestionCorrection 题目纠错
* @return 题目纠错集合
*/
public List<ExamQuestionCorrection> selectExamQuestionCorrectionList(ExamQuestionCorrection examQuestionCorrection);
/**
* 新增题目纠错
*
* @param examQuestionCorrection 题目纠错
* @return 结果
*/
public int insertExamQuestionCorrection(ExamQuestionCorrection examQuestionCorrection);
/**
* 修改题目纠错
*
* @param examQuestionCorrection 题目纠错
* @return 结果
*/
public int updateExamQuestionCorrection(ExamQuestionCorrection examQuestionCorrection);
/**
* 删除题目纠错
*
* @param id 题目纠错ID
* @return 结果
*/
public int deleteExamQuestionCorrectionById(Long id);
/**
* 批量删除题目纠错
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamQuestionCorrectionByIds(Long[] ids);
}
@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.ExamQuestionFavorite;
import com.luqj.exam.domain.ExamQuestionFavoritePlus;
/**
* 题目收藏Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface ExamQuestionFavoriteMapper extends BaseMapper<ExamQuestionFavoritePlus>
{
/**
* 查询题目收藏
*
* @param id 题目收藏ID
* @return 题目收藏
*/
public ExamQuestionFavorite selectExamQuestionFavoriteById(Long id);
/**
* 查询题目收藏列表
*
* @param examQuestionFavorite 题目收藏
* @return 题目收藏集合
*/
public List<ExamQuestionFavorite> selectExamQuestionFavoriteList(ExamQuestionFavorite examQuestionFavorite);
/**
* 新增题目收藏
*
* @param examQuestionFavorite 题目收藏
* @return 结果
*/
public int insertExamQuestionFavorite(ExamQuestionFavorite examQuestionFavorite);
/**
* 修改题目收藏
*
* @param examQuestionFavorite 题目收藏
* @return 结果
*/
public int updateExamQuestionFavorite(ExamQuestionFavorite examQuestionFavorite);
/**
* 删除题目收藏
*
* @param id 题目收藏ID
* @return 结果
*/
public int deleteExamQuestionFavoriteById(Long id);
/**
* 批量删除题目收藏
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamQuestionFavoriteByIds(Long[] ids);
}
@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.ExamQuestion;
import com.luqj.exam.domain.ExamQuestionPlus;
/**
* 题库Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface ExamQuestionMapper extends BaseMapper<ExamQuestionPlus>
{
/**
* 查询题库
*
* @param id 题库ID
* @return 题库
*/
public ExamQuestion selectExamQuestionById(Long id);
/**
* 查询题库列表
*
* @param examQuestion 题库
* @return 题库集合
*/
public List<ExamQuestion> selectExamQuestionList(ExamQuestion examQuestion);
/**
* 新增题库
*
* @param examQuestion 题库
* @return 结果
*/
public int insertExamQuestion(ExamQuestion examQuestion);
/**
* 修改题库
*
* @param examQuestion 题库
* @return 结果
*/
public int updateExamQuestion(ExamQuestion examQuestion);
/**
* 删除题库
*
* @param id 题库ID
* @return 结果
*/
public int deleteExamQuestionById(Long id);
/**
* 批量删除题库
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamQuestionByIds(Long[] ids);
}
@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.ExamSchool;
import com.luqj.exam.domain.ExamSchoolPlus;
/**
* 出题学校Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface ExamSchoolMapper extends BaseMapper<ExamSchoolPlus>
{
/**
* 查询出题学校
*
* @param id 出题学校ID
* @return 出题学校
*/
public ExamSchool selectExamSchoolById(Long id);
/**
* 查询出题学校列表
*
* @param examSchool 出题学校
* @return 出题学校集合
*/
public List<ExamSchool> selectExamSchoolList(ExamSchool examSchool);
/**
* 新增出题学校
*
* @param examSchool 出题学校
* @return 结果
*/
public int insertExamSchool(ExamSchool examSchool);
/**
* 修改出题学校
*
* @param examSchool 出题学校
* @return 结果
*/
public int updateExamSchool(ExamSchool examSchool);
/**
* 删除出题学校
*
* @param id 出题学校ID
* @return 结果
*/
public int deleteExamSchoolById(Long id);
/**
* 批量删除出题学校
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamSchoolByIds(Long[] ids);
}
@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.ExamStudentMistakes;
import com.luqj.exam.domain.ExamStudentMistakesPlus;
/**
* 错题集Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface ExamStudentMistakesMapper extends BaseMapper<ExamStudentMistakesPlus>
{
/**
* 查询错题集
*
* @param id 错题集ID
* @return 错题集
*/
public ExamStudentMistakes selectExamStudentMistakesById(Long id);
/**
* 查询错题集列表
*
* @param examStudentMistakes 错题集
* @return 错题集集合
*/
public List<ExamStudentMistakes> selectExamStudentMistakesList(ExamStudentMistakes examStudentMistakes);
/**
* 新增错题集
*
* @param examStudentMistakes 错题集
* @return 结果
*/
public int insertExamStudentMistakes(ExamStudentMistakes examStudentMistakes);
/**
* 修改错题集
*
* @param examStudentMistakes 错题集
* @return 结果
*/
public int updateExamStudentMistakes(ExamStudentMistakes examStudentMistakes);
/**
* 删除错题集
*
* @param id 错题集ID
* @return 结果
*/
public int deleteExamStudentMistakesById(Long id);
/**
* 批量删除错题集
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamStudentMistakesByIds(Long[] ids);
}
@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.ExamStudentPaperAnswer;
import com.luqj.exam.domain.ExamStudentPaperAnswerPlus;
/**
* 学生答题明细Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface ExamStudentPaperAnswerMapper extends BaseMapper<ExamStudentPaperAnswerPlus>
{
/**
* 查询学生答题明细
*
* @param id 学生答题明细ID
* @return 学生答题明细
*/
public ExamStudentPaperAnswer selectExamStudentPaperAnswerById(Long id);
/**
* 查询学生答题明细列表
*
* @param examStudentPaperAnswer 学生答题明细
* @return 学生答题明细集合
*/
public List<ExamStudentPaperAnswer> selectExamStudentPaperAnswerList(ExamStudentPaperAnswer examStudentPaperAnswer);
/**
* 新增学生答题明细
*
* @param examStudentPaperAnswer 学生答题明细
* @return 结果
*/
public int insertExamStudentPaperAnswer(ExamStudentPaperAnswer examStudentPaperAnswer);
/**
* 修改学生答题明细
*
* @param examStudentPaperAnswer 学生答题明细
* @return 结果
*/
public int updateExamStudentPaperAnswer(ExamStudentPaperAnswer examStudentPaperAnswer);
/**
* 删除学生答题明细
*
* @param id 学生答题明细ID
* @return 结果
*/
public int deleteExamStudentPaperAnswerById(Long id);
/**
* 批量删除学生答题明细
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamStudentPaperAnswerByIds(Long[] ids);
}
@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.ExamStudentPaper;
import com.luqj.exam.domain.ExamStudentPaperPlus;
/**
* 学生考试试卷实例Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface ExamStudentPaperMapper extends BaseMapper<ExamStudentPaperPlus>
{
/**
* 查询学生考试试卷实例
*
* @param id 学生考试试卷实例ID
* @return 学生考试试卷实例
*/
public ExamStudentPaper selectExamStudentPaperById(Long id);
/**
* 查询学生考试试卷实例列表
*
* @param examStudentPaper 学生考试试卷实例
* @return 学生考试试卷实例集合
*/
public List<ExamStudentPaper> selectExamStudentPaperList(ExamStudentPaper examStudentPaper);
/**
* 新增学生考试试卷实例
*
* @param examStudentPaper 学生考试试卷实例
* @return 结果
*/
public int insertExamStudentPaper(ExamStudentPaper examStudentPaper);
/**
* 修改学生考试试卷实例
*
* @param examStudentPaper 学生考试试卷实例
* @return 结果
*/
public int updateExamStudentPaper(ExamStudentPaper examStudentPaper);
/**
* 删除学生考试试卷实例
*
* @param id 学生考试试卷实例ID
* @return 结果
*/
public int deleteExamStudentPaperById(Long id);
/**
* 批量删除学生考试试卷实例
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamStudentPaperByIds(Long[] ids);
}
@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.ExamStudentScore;
import com.luqj.exam.domain.ExamStudentScorePlus;
/**
* 学生成绩Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface ExamStudentScoreMapper extends BaseMapper<ExamStudentScorePlus>
{
/**
* 查询学生成绩
*
* @param id 学生成绩ID
* @return 学生成绩
*/
public ExamStudentScore selectExamStudentScoreById(Long id);
/**
* 查询学生成绩列表
*
* @param examStudentScore 学生成绩
* @return 学生成绩集合
*/
public List<ExamStudentScore> selectExamStudentScoreList(ExamStudentScore examStudentScore);
/**
* 新增学生成绩
*
* @param examStudentScore 学生成绩
* @return 结果
*/
public int insertExamStudentScore(ExamStudentScore examStudentScore);
/**
* 修改学生成绩
*
* @param examStudentScore 学生成绩
* @return 结果
*/
public int updateExamStudentScore(ExamStudentScore examStudentScore);
/**
* 删除学生成绩
*
* @param id 学生成绩ID
* @return 结果
*/
public int deleteExamStudentScoreById(Long id);
/**
* 批量删除学生成绩
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExamStudentScoreByIds(Long[] ids);
}
@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.StatsExamAccuracy;
import com.luqj.exam.domain.StatsExamAccuracyPlus;
/**
* 学生答题正确率统计Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface StatsExamAccuracyMapper extends BaseMapper<StatsExamAccuracyPlus>
{
/**
* 查询学生答题正确率统计
*
* @param id 学生答题正确率统计ID
* @return 学生答题正确率统计
*/
public StatsExamAccuracy selectStatsExamAccuracyById(Long id);
/**
* 查询学生答题正确率统计列表
*
* @param statsExamAccuracy 学生答题正确率统计
* @return 学生答题正确率统计集合
*/
public List<StatsExamAccuracy> selectStatsExamAccuracyList(StatsExamAccuracy statsExamAccuracy);
/**
* 新增学生答题正确率统计
*
* @param statsExamAccuracy 学生答题正确率统计
* @return 结果
*/
public int insertStatsExamAccuracy(StatsExamAccuracy statsExamAccuracy);
/**
* 修改学生答题正确率统计
*
* @param statsExamAccuracy 学生答题正确率统计
* @return 结果
*/
public int updateStatsExamAccuracy(StatsExamAccuracy statsExamAccuracy);
/**
* 删除学生答题正确率统计
*
* @param id 学生答题正确率统计ID
* @return 结果
*/
public int deleteStatsExamAccuracyById(Long id);
/**
* 批量删除学生答题正确率统计
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteStatsExamAccuracyByIds(Long[] ids);
}
@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.StatsExamQuestionAccuracy;
import com.luqj.exam.domain.StatsExamQuestionAccuracyPlus;
/**
* 按题目统计Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface StatsExamQuestionAccuracyMapper extends BaseMapper<StatsExamQuestionAccuracyPlus>
{
/**
* 查询按题目统计
*
* @param id 按题目统计ID
* @return 按题目统计
*/
public StatsExamQuestionAccuracy selectStatsExamQuestionAccuracyById(Long id);
/**
* 查询按题目统计列表
*
* @param statsExamQuestionAccuracy 按题目统计
* @return 按题目统计集合
*/
public List<StatsExamQuestionAccuracy> selectStatsExamQuestionAccuracyList(StatsExamQuestionAccuracy statsExamQuestionAccuracy);
/**
* 新增按题目统计
*
* @param statsExamQuestionAccuracy 按题目统计
* @return 结果
*/
public int insertStatsExamQuestionAccuracy(StatsExamQuestionAccuracy statsExamQuestionAccuracy);
/**
* 修改按题目统计
*
* @param statsExamQuestionAccuracy 按题目统计
* @return 结果
*/
public int updateStatsExamQuestionAccuracy(StatsExamQuestionAccuracy statsExamQuestionAccuracy);
/**
* 删除按题目统计
*
* @param id 按题目统计ID
* @return 结果
*/
public int deleteStatsExamQuestionAccuracyById(Long id);
/**
* 批量删除按题目统计
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteStatsExamQuestionAccuracyByIds(Long[] ids);
}
@@ -0,0 +1,65 @@
package com.luqj.exam.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.luqj.exam.domain.StatsExamWeekAccuracy;
import com.luqj.exam.domain.StatsExamWeekAccuracyPlus;
/**
* 学生答题正确率统计Mapper接口
*
* @author ruoyi
* @date 2021-07-23
*/
public interface StatsExamWeekAccuracyMapper extends BaseMapper<StatsExamWeekAccuracyPlus>
{
/**
* 查询学生答题正确率统计
*
* @param id 学生答题正确率统计ID
* @return 学生答题正确率统计
*/
public StatsExamWeekAccuracy selectStatsExamWeekAccuracyById(Long id);
/**
* 查询学生答题正确率统计列表
*
* @param statsExamWeekAccuracy 学生答题正确率统计
* @return 学生答题正确率统计集合
*/
public List<StatsExamWeekAccuracy> selectStatsExamWeekAccuracyList(StatsExamWeekAccuracy statsExamWeekAccuracy);
/**
* 新增学生答题正确率统计
*
* @param statsExamWeekAccuracy 学生答题正确率统计
* @return 结果
*/
public int insertStatsExamWeekAccuracy(StatsExamWeekAccuracy statsExamWeekAccuracy);
/**
* 修改学生答题正确率统计
*
* @param statsExamWeekAccuracy 学生答题正确率统计
* @return 结果
*/
public int updateStatsExamWeekAccuracy(StatsExamWeekAccuracy statsExamWeekAccuracy);
/**
* 删除学生答题正确率统计
*
* @param id 学生答题正确率统计ID
* @return 结果
*/
public int deleteStatsExamWeekAccuracyById(Long id);
/**
* 批量删除学生答题正确率统计
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteStatsExamWeekAccuracyByIds(Long[] ids);
}