caozixuan 4 năm trước cách đây
mục cha
commit
83b0e3982a

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

@@ -13,11 +13,11 @@ import java.util.List;
 public class ExaminationImportDto {
 
     @ApiModelProperty(value = "学号")
-    @ExcelDBFieldDesc(name = "学号",length = 10)
+    @ExcelDBFieldDesc(name = "学号",length = 20)
     private String studentCode;
 
     @ApiModelProperty(value = "考号")
-    @ExcelDBFieldDesc(name = "考号",length = 15)
+    @ExcelDBFieldDesc(name = "考号",length = 20)
     private String ticketNumber;
 
     @ApiModelProperty(value = "座位号")

+ 1 - 1
distributed-print-business/src/main/java/com/qmth/distributed/print/business/util/ConvertUtil.java

@@ -257,7 +257,7 @@ public class ConvertUtil {
             throw ExceptionResultEnum.ERROR.exception(name + "不能为空");
         }
         if (str.length() > length){
-            throw ExceptionResultEnum.ERROR.exception("内容'" + str + "' 超过长度限制 : " + length);
+            throw ExceptionResultEnum.ERROR.exception("[" + name + ":" + str + "]' 超过长度限制 : " + length);
         }
     }
 }

+ 1 - 1
distributed-print-business/src/main/resources/mapper/ExamTaskDetailMapper.xml

@@ -54,7 +54,7 @@
         FROM
             exam_detail a
             LEFT JOIN exam_detail_course b ON a.id = b.exam_detail_id
-        GROUP BY a.school_id , a.print_plan_id , a.print_plan_name , b.paper_number , b.course_code , b.course_name) a
+        GROUP BY a.school_id , a.print_plan_id , a.print_plan_name , b.paper_number , b.course_code , b.course_name , b.paper_type) a
             LEFT JOIN
         exam_task c ON a.school_id = c.school_id
             AND a.course_code = c.course_code