소스 검색

BUG修复

wangliang 3 년 전
부모
커밋
521ccdf77d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      themis-business/src/main/java/com/qmth/themis/business/service/impl/TOeExamRecordServiceImpl.java

+ 2 - 2
themis-business/src/main/java/com/qmth/themis/business/service/impl/TOeExamRecordServiceImpl.java

@@ -1419,8 +1419,8 @@ public class TOeExamRecordServiceImpl extends ServiceImpl<TOeExamRecordMapper, T
                 examStudentCacheBean.getRoomCode(),
                 examStudentCacheBean.getRoomName(),
                 tOeExamRecord.getFinishType(),
-                paperStructJson.toJSONString(),
-                answerJson.toJSONString(),
+                Objects.nonNull(paperStructJson) ? paperStructJson.toJSONString() : null,
+                Objects.nonNull(answerJson) ? answerJson.toJSONString() : null,
                 examStudentAnswerJson);
     }