From 81b9c40df0ab9fb09853109d29dbc8e916978d29 Mon Sep 17 00:00:00 2001 From: dlaren Date: Fri, 15 Aug 2025 13:21:10 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=20?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=AD=A6=E7=94=9F=E8=AF=95=E5=8D=B7=E5=88=86?= =?UTF-8?q?=E6=95=B0=EF=BC=8C=E5=8F=82=E6=95=B0=E4=BC=A0=E9=80=92=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mysql/student/StuPaperScoreMapper.java | 2 +- .../stuPaperScore/StuPaperScoreService.java | 2 +- .../StuPaperScoreServiceImpl.java | 4 +- .../mapper/student/StuPaperScoreMapper.xml | 26 +++--- .../pptx4j/{Shape.java => ShapePage.java} | 81 +++++++++++++------ 5 files changed, 74 insertions(+), 41 deletions(-) rename exam-module-judgement/exam-module-judgement-biz/src/main/java/pc/exam/pp/module/judgement/utils/wps_pptx/pptx4j/{Shape.java => ShapePage.java} (84%) diff --git a/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/dal/mysql/student/StuPaperScoreMapper.java b/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/dal/mysql/student/StuPaperScoreMapper.java index a165f2c6..cc7f88cc 100644 --- a/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/dal/mysql/student/StuPaperScoreMapper.java +++ b/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/dal/mysql/student/StuPaperScoreMapper.java @@ -18,7 +18,7 @@ public interface StuPaperScoreMapper extends BaseMapperX { List findByStuIdAndPaperId(@Param("stuId") Long stuId, @Param("paperId") String paperId, @Param("temporaryId") String temporaryId); - List getStuScore(@Param("stuId") Long stuId, @Param("paperId") String paperId); + List getStuScore(@Param("stuId") Long stuId, @Param("paperId") String paperId, @Param("temporaryId") String temporaryId); // 通过学生ID,试卷ID ,试题ID,查询数据 StuPaperScoreDO findByStuIdAndPaperIdAndQuestionId(@Param("stuId") Long stuId, @Param("paperId") String paperId, @Param("quId") String questionId); diff --git a/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/service/stuPaperScore/StuPaperScoreService.java b/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/service/stuPaperScore/StuPaperScoreService.java index 4b61ec8a..d36054f9 100644 --- a/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/service/stuPaperScore/StuPaperScoreService.java +++ b/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/service/stuPaperScore/StuPaperScoreService.java @@ -19,7 +19,7 @@ public interface StuPaperScoreService { void updateStuPaperScore(StuPaperScoreDO stuPaperScoreDO); - StuScoreVo getStuScore(Long stuId, String paperId); + StuScoreVo getStuScore(Long stuId, String paperId, String temporaryId); StuPaperScoreDO getStuScoreByPaperIdAndQuid(Long stuId, String paperId, String quId); diff --git a/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/service/stuPaperScore/StuPaperScoreServiceImpl.java b/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/service/stuPaperScore/StuPaperScoreServiceImpl.java index f3b300fb..c75cfaac 100644 --- a/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/service/stuPaperScore/StuPaperScoreServiceImpl.java +++ b/exam-module-exam/exam-module-exam-biz/src/main/java/pc/exam/pp/module/exam/service/stuPaperScore/StuPaperScoreServiceImpl.java @@ -42,7 +42,7 @@ public class StuPaperScoreServiceImpl implements StuPaperScoreService { } @Override - public StuScoreVo getStuScore(Long stuId, String paperId) { + public StuScoreVo getStuScore(Long stuId, String paperId, String temporaryId) { // 1、创建对象 StuScoreVo stuScoreVo = new StuScoreVo(); // 2、查询学生得分 @@ -52,7 +52,7 @@ public class StuPaperScoreServiceImpl implements StuPaperScoreService { String nickName = ""; String taskId = ""; String picUrl = ""; - List stuScoreVos = stuPaperScoreMapper.getStuScore(stuId, paperId); + List stuScoreVos = stuPaperScoreMapper.getStuScore(stuId, paperId, temporaryId); for (StuScoreVo scoreVo : stuScoreVos) { stuNumber = scoreVo.getStuNumber(); nickName = scoreVo.getNickName(); diff --git a/exam-module-exam/exam-module-exam-biz/src/main/resources/mapper/student/StuPaperScoreMapper.xml b/exam-module-exam/exam-module-exam-biz/src/main/resources/mapper/student/StuPaperScoreMapper.xml index 72eb5220..704de49b 100644 --- a/exam-module-exam/exam-module-exam-biz/src/main/resources/mapper/student/StuPaperScoreMapper.xml +++ b/exam-module-exam/exam-module-exam-biz/src/main/resources/mapper/student/StuPaperScoreMapper.xml @@ -9,23 +9,23 @@ 文档可见:https://www.iocoder.cn/MyBatis/x-plugins/ -->