From 45c3b7aacf3d20e1915e597152ad30a3b40377a2 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期一, 28 七月 2025 13:11:34 +0800
Subject: [PATCH] 修改小程序考试,新增项目管理

---
 multi-system/src/main/java/com/gkhy/exam/system/domain/ExExamRecord.java |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/multi-system/src/main/java/com/gkhy/exam/system/domain/ExExamRecord.java b/multi-system/src/main/java/com/gkhy/exam/system/domain/ExExamRecord.java
index 24d0bb4..a9e40ea 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/domain/ExExamRecord.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/domain/ExExamRecord.java
@@ -14,6 +14,7 @@
 import javax.validation.constraints.NotNull;
 import java.io.Serializable;
 import java.time.LocalDateTime;
+import java.util.List;
 
 import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL;
 
@@ -45,7 +46,7 @@
     @NotNull(message = "学员id不能为空")
     @ApiModelProperty(value = "学员id",required = true)
     @TableField("student_id")
-    private Long studentId;
+    private String studentId;
 
     @NotBlank(message = "计划名称不能为空")
     @ApiModelProperty(value = "计划名称",required = true)
@@ -62,22 +63,18 @@
     @TableField("level")
     private Integer level;
 
-    @NotNull(message = "要求课时不能为空")
-    @ApiModelProperty(value = "要求课时(分)",required = true)
+    @ApiModelProperty(value = "要求课时(分)")
     @TableField("period")
     private Integer period;
 
-    @NotNull(message = "实际课时不能为空")
-    @ApiModelProperty(value = "实际课时(分)",required = true)
+    @ApiModelProperty(value = "实际课时(分)")
     @TableField("actual_period")
     private Integer actualPeriod;
 
-    @NotNull(message = "考试成绩不能为空")
     @ApiModelProperty("考试成绩")
     @TableField("score")
     private Integer score;
 
-    @NotNull(message = "是否合格不能为空")
     @ApiModelProperty("是否合格,0不合格 1合格 默认0")
     @TableField("passed")
     private Integer passed;
@@ -109,7 +106,11 @@
 
     @ApiModelProperty("学生对象")
     @TableField(exist = false)
-    private ExStudent student;
+    private List<ExStudent> students;
 
 
+    @ApiModelProperty("培训记录文件")
+    @TableField(exist = false)
+    private List<RecordFile> files;
+
 }

--
Gitblit v1.9.2