From 8f781f3cb17187a7ee58f41632c25fbb2aa81cc7 Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期二, 16 三月 2021 19:57:24 +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