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