From ccfc11f040691d7359a773ec0f1e4165fffc7783 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 03 十二月 2024 10:40:17 +0800 Subject: [PATCH] 题目导入:题干重复会更新题目信息、答案去掉字符串空格;在线学习文件非必穿 --- src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java b/src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java index 8fe8d1a..531b846 100644 --- a/src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java +++ b/src/main/java/com/mindskip/xzs/repository/ExamPaperAnswerMapper.java @@ -70,4 +70,19 @@ ExamPaperDataExportVO totalByPaper(ExamPaperDataVO examPaperDataVO); Integer getExamTotal(ExamPaperStatisticVO examPaperStatisticVO); + + + /** + * 鏍规嵁绛斿嵎璇曞嵎id鑾峰彇鏈�楂樻垚缁╃瓟鍗� + * @param examPaperAnswer 绛斿嵎 + * @return 鏈�楂樻垚缁╃瓟鍗� + */ + ExamPaperAnswer getTemplateOtherExamAnswer(@Param("examPaperAnswer") ExamPaperAnswer examPaperAnswer, @Param("templateId") Integer templateId); + + /** + * 鏍规嵁璇曞嵎id鑾峰彇鏈�楂樻垚缁╃瓟鍗� + * @param examPaperAnswer 绛斿嵎 + * @return 鏈�楂樻垚缁╃瓟鍗� + */ + ExamPaperAnswer getPaperOtherExamAnswer(ExamPaperAnswer examPaperAnswer); } -- Gitblit v1.8.0