wangliang преди 3 години
родител
ревизия
2ca7f3c93a
променени са 1 файла, в които са добавени 2 реда и са изтрити 7 реда
  1. 2 7
      themis-admin/src/main/java/com/qmth/themis/admin/api/TIeInvigilateController.java

+ 2 - 7
themis-admin/src/main/java/com/qmth/themis/admin/api/TIeInvigilateController.java

@@ -70,15 +70,9 @@ public class TIeInvigilateController {
     @Resource
     TIeInvigilateWarnInfoService tIeInvigilateWarnInfoService;
 
-    @Resource
-    TIeInvigilateExceptionInfoService tIeInvigilateExceptionInfoService;
-
     @Resource
     TEExamStudentLogService teExamStudentLogService;
 
-    @Resource
-    TBExamInvigilateUserService tbExamInvigilateUserService;
-
     @Resource
     TEExamActivityService teExamActivityService;
 
@@ -299,7 +293,8 @@ public class TIeInvigilateController {
         teExamStudentLogQueryWrapper.lambda().eq(TEExamStudentLog::getExamStudentId, examStudentId)
                 .eq(TEExamStudentLog::getExamRecordId, examRecordId)
                 .ne(TEExamStudentLog::getType, SystemOperationEnum.BREACH_HANDLE.name())
-                .ne(TEExamStudentLog::getType, SystemOperationEnum.BREACH_REVOKE.name());
+                .ne(TEExamStudentLog::getType, SystemOperationEnum.BREACH_REVOKE.name())
+                .orderByAsc(TEExamStudentLog::getCreateTime);
 //                .and(w -> w.ne(TEExamStudentLog::getType, SystemOperationEnum.BREACH_HANDLE.name()).or().ne(TEExamStudentLog::getType, SystemOperationEnum.BREACH_REVOKE.name()));
         List<TEExamStudentLog> teExamStudentLogList = teExamStudentLogService.list(teExamStudentLogQueryWrapper);
         invigilateListDetailBean.setExamStudentLogList(teExamStudentLogList);