Переглянути джерело

fix:去掉字段长度限制

caozixuan 2 роки тому
батько
коміт
4ff3aa341d

+ 12 - 12
distributed-print-business/src/main/java/com/qmth/distributed/print/business/bean/dto/ExaminationImportDto.java

@@ -13,35 +13,35 @@ import java.util.List;
 public class ExaminationImportDto {
 
     @ApiModelProperty(value = "学号")
-    @ExcelDBFieldDesc(name = "学号", length = 30)
+    @ExcelDBFieldDesc(name = "学号")
     private String studentCode;
 
     @ApiModelProperty(value = "考号")
-    @ExcelDBFieldDesc(name = "考号", length = 30)
+    @ExcelDBFieldDesc(name = "考号")
     private String ticketNumber;
 
     @ApiModelProperty(value = "座位号")
-    @ExcelDBFieldDesc(name = "座位号", length = 30)
+    @ExcelDBFieldDesc(name = "座位号")
     private String siteNumber;
 
     @ApiModelProperty(value = "姓名")
-    @ExcelDBFieldDesc(name = "姓名", length = 30)
+    @ExcelDBFieldDesc(name = "姓名")
     private String studentName;
 
     @ApiModelProperty(value = "课程代码")
-    @ExcelDBFieldDesc(name = "课程代码", length = 30)
+    @ExcelDBFieldDesc(name = "课程代码")
     private String courseCode;
 
     @ApiModelProperty(value = "课程名称")
-    @ExcelDBFieldDesc(name = "课程名称", length = 50)
+    @ExcelDBFieldDesc(name = "课程名称")
     private String courseName;
 
     @ApiModelProperty(value = "考点")
-    @ExcelDBFieldDesc(name = "考点", length = 30)
+    @ExcelDBFieldDesc(name = "考点")
     private String examPlace;
 
     @ApiModelProperty(value = "考场")
-    @ExcelDBFieldDesc(name = "考场", length = 30)
+    @ExcelDBFieldDesc(name = "考场")
     private String examRoom;
 
     @ApiModelProperty(value = "考试日期")
@@ -53,19 +53,19 @@ public class ExaminationImportDto {
     private String examTime;
 
     @ApiModelProperty(value = "试卷编号")
-    @ExcelDBFieldDesc(name = "试卷编号", length = 30)
+    @ExcelDBFieldDesc(name = "试卷编号")
     private String paperNumber;
 
     @ApiModelProperty(value = "学院")
-    @ExcelDBFieldDesc(name = "学院", length = 30)
+    @ExcelDBFieldDesc(name = "学院")
     private String collegeName;
 
     @ApiModelProperty(value = "专业")
-    @ExcelDBFieldDesc(name = "专业", length = 30)
+    @ExcelDBFieldDesc(name = "专业")
     private String majorName;
 
     @ApiModelProperty(value = "班级")
-    @ExcelDBFieldDesc(name = "班级", length = 30)
+    @ExcelDBFieldDesc(name = "班级")
     private String clazzName;
 
     @ApiModelProperty(value = "课程创建的任务序号")