소스 검색

BUG修复

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);