xiatian 8 ay önce
ebeveyn
işleme
7f93b2f4be

+ 1 - 1
src/main/java/cn/com/qmth/scancentral/service/impl/StudentServiceImpl.java

@@ -1607,7 +1607,7 @@ public class StudentServiceImpl extends ServiceImpl<StudentDao, StudentEntity> i
         StudentEntity se = this.getById(vo.getId());
         try {
             if (UploadStatus.WAITING_UPLOAD.equals(se.getFileUploadStatus())) {
-                toolExportService.studentFileCopy(se.getId(), vo.getExamMode());
+                toolExportService.studentFileCopy(se.getId(), vo.getMode());
                 this.updateFileUploadStatus(se.getId(), UploadStatus.UPLOADED);
             }
         } catch (Exception e) {

+ 5 - 5
src/main/java/cn/com/qmth/scancentral/vo/StudentUploadVo.java

@@ -47,7 +47,7 @@ public class StudentUploadVo {
 
     private UploadStatus dataUploadStatus;
 
-    private ExamMode examMode;
+    private ExamMode mode;
 
     public Long getId() {
         return id;
@@ -201,12 +201,12 @@ public class StudentUploadVo {
         this.dataUploadStatus = dataUploadStatus;
     }
 
-    public ExamMode getExamMode() {
-        return examMode;
+    public ExamMode getMode() {
+        return mode;
     }
 
-    public void setExamMode(ExamMode examMode) {
-        this.examMode = examMode;
+    public void setMode(ExamMode mode) {
+        this.mode = mode;
     }
 
 }

+ 2 - 2
src/main/resources/mapper/StudentMapper.xml

@@ -352,11 +352,11 @@
     <select id="findToPictureCopy"
             resultType="cn.com.qmth.scancentral.vo.StudentUploadVo">
         select t.*,
-               e.exam_mode
+               e.mode
         from sc_student t
                  inner join sc_exam e on t.exam_id = e.id
         where e.enable = 1
-          and e.exam_mode = 'CET'
+          and e.mode = 'CET'
           and t.file_upload_status = 'WAITING_UPLOAD'
             limit #{pageSize}
     </select>