From 13a68df58b3f937db5ba6437c814bafdcd8d37f8 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 27 五月 2024 16:09:41 +0800 Subject: [PATCH] 登录时如果不是部门管理员则deptIds填充为用户所在部门 --- src/main/java/com/mindskip/xzs/viewmodel/student/exam/ExamPaperSubmitVM.java | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/viewmodel/student/exam/ExamPaperSubmitVM.java b/src/main/java/com/mindskip/xzs/viewmodel/student/exam/ExamPaperSubmitVM.java index c21ab3c..d2481bd 100644 --- a/src/main/java/com/mindskip/xzs/viewmodel/student/exam/ExamPaperSubmitVM.java +++ b/src/main/java/com/mindskip/xzs/viewmodel/student/exam/ExamPaperSubmitVM.java @@ -20,6 +20,22 @@ @Valid private List<ExamPaperSubmitItemVM> answerItems; + //妯℃澘id + private Integer templatesId; + + /** + * 鏄惁鏃堕棿缁撴潫鑷姩鎻愪氦 + */ + private boolean isAutoCommit; + + public boolean isAutoCommit() { + return isAutoCommit; + } + + public void setAutoCommit(boolean autoCommit) { + isAutoCommit = autoCommit; + } + public Integer getId() { return id; } @@ -51,4 +67,12 @@ public void setAnswerItems(List<ExamPaperSubmitItemVM> answerItems) { this.answerItems = answerItems; } + + public Integer getTemplatesId() { + return templatesId; + } + + public void setTemplatesId(Integer templatesId) { + this.templatesId = templatesId; + } } -- Gitblit v1.8.0