소스 검색

监考端接口

wangliang 4 년 전
부모
커밋
124dfc5c1b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      themis-exam/src/main/java/com/qmth/themis/exam/api/TIeInvigilateCallMobileController.java

+ 1 - 1
themis-exam/src/main/java/com/qmth/themis/exam/api/TIeInvigilateCallMobileController.java

@@ -172,7 +172,7 @@ public class TIeInvigilateCallMobileController {
         objectMap.put(SystemConstant.MONITOR_STATUS_ + source.name(), status);
         TIeExamInvigilateCallLog tIeExamInvigilateCallLog = new TIeExamInvigilateCallLog(recordId, source, liveUrl, MonitorStatusSourceEnum.START);
         if (Objects.nonNull(mapParameter.get("type")) || !Objects.equals(mapParameter.get("type"), "")) {
-            tIeExamInvigilateCallLog.setType((ExceptionEnum) mapParameter.get("type"));
+            tIeExamInvigilateCallLog.setType(ExceptionEnum.valueOf(String.valueOf(mapParameter.get("type"))));
         }
         redisUtil.setForHash(RedisKeyHelper.examRecordCacheKey(recordId), objectMap);