From b97c9326a5370fd9a190e2a0f49645ff93e9bcef Mon Sep 17 00:00:00 2001
From: huangzhen <867217663@qq.com>
Date: 星期五, 27 十月 2023 15:09:18 +0800
Subject: [PATCH] 教师模块增加根据工种类型进行导入
---
exam-system/src/main/java/com/gkhy/exam/coalmine/model/dto/req/CmStaffExamAddReqDTO.java | 13 ++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/exam-system/src/main/java/com/gkhy/exam/coalmine/model/dto/req/CmStaffExamAddReqDTO.java b/exam-system/src/main/java/com/gkhy/exam/coalmine/model/dto/req/CmStaffExamAddReqDTO.java
index d7a9f6f..242eb34 100644
--- a/exam-system/src/main/java/com/gkhy/exam/coalmine/model/dto/req/CmStaffExamAddReqDTO.java
+++ b/exam-system/src/main/java/com/gkhy/exam/coalmine/model/dto/req/CmStaffExamAddReqDTO.java
@@ -6,6 +6,7 @@
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
+import java.time.LocalDate;
import java.time.LocalDateTime;
/**
@@ -20,15 +21,9 @@
@NotNull(message = "人员id不能为空")
private Long staffId;
- //开始时间
- @NotNull(message = "开始时间不能为空")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private LocalDateTime startTime;
-
- //结束时间
- @NotNull(message = "结束时间不能为空")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private LocalDateTime endTime;
+ //考试时间
+ @NotNull(message = "考试时间不能为空")
+ private LocalDate examTime;
//考试中心
@NotBlank(message = "考试中心不能为空")
--
Gitblit v1.9.2