From af7939d01504db6e7dbbc558ac1d80d955758bb2 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 16 七月 2024 17:34:29 +0800 Subject: [PATCH] feat:科目名重复限制 --- src/main/java/com/mindskip/xzs/listener/CalculateExamPaperAnswerListener.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/listener/CalculateExamPaperAnswerListener.java b/src/main/java/com/mindskip/xzs/listener/CalculateExamPaperAnswerListener.java index 5776629..b76f717 100644 --- a/src/main/java/com/mindskip/xzs/listener/CalculateExamPaperAnswerListener.java +++ b/src/main/java/com/mindskip/xzs/listener/CalculateExamPaperAnswerListener.java @@ -60,7 +60,7 @@ examPaperAnswerService.insertByFilter(examPaperAnswer); // 鏈�浼樻垚缁╂湁鏁堬紝鍏朵綑鏃犳晥 - examPaperAnswerService.maxGrade(examPaperAnswer); + examPaperAnswerService.maxGrade(examPaperAnswer, examPaperAnswerInfo.getTemplateId()); examPaperQuestionCustomerAnswers.stream().filter(a -> QuestionTypeEnum.needSaveTextContent(a.getQuestionType())).forEach(d -> { TextContent textContent = new TextContent(d.getAnswer(), now); -- Gitblit v1.8.0