From 93af1c6ffb9ae0e894689ad3a37b548e57d54cff Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期四, 11 三月 2021 19:10:07 +0800 Subject: [PATCH] 有注释的测评系统业务代码 --- src/main/java/com/ots/project/exam/listener/CalculateExamPaperAnswerCompleteEvent.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ots/project/exam/listener/CalculateExamPaperAnswerCompleteEvent.java b/src/main/java/com/ots/project/exam/listener/CalculateExamPaperAnswerCompleteEvent.java index 799ca80..8caa839 100644 --- a/src/main/java/com/ots/project/exam/listener/CalculateExamPaperAnswerCompleteEvent.java +++ b/src/main/java/com/ots/project/exam/listener/CalculateExamPaperAnswerCompleteEvent.java @@ -1,14 +1,24 @@ package com.ots.project.exam.listener; + import com.ots.project.exam.dto.ExamPaperAnswerInfo; import org.springframework.context.ApplicationEvent; +/** + * @author OTS + */ public class CalculateExamPaperAnswerCompleteEvent extends ApplicationEvent { + + private final ExamPaperAnswerInfo examPaperAnswerInfo; + + public CalculateExamPaperAnswerCompleteEvent(final ExamPaperAnswerInfo examPaperAnswerInfo) { super(examPaperAnswerInfo); this.examPaperAnswerInfo = examPaperAnswerInfo; } + public ExamPaperAnswerInfo getExamPaperAnswerInfo() { return examPaperAnswerInfo; } + } -- Gitblit v1.9.1