wangliang 1 年之前
父節點
當前提交
af0c072180

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

@@ -437,12 +437,15 @@ public class TOeExamRecordServiceImpl extends ServiceImpl<TOeExamRecordMapper, T
                     examStudentCache.getAlreadyExamCount().longValue() == 1) {
                 teOrgSummaryService.updateOrgZeroSummary(examCacheBean.getOrgId(), 1);
                 teOrgSummaryService.updateOrgZeroSummary(0L, 1);
+                teExamSummaryService.updateExamSummaryFinishCount(examCacheBean.getId(), examActivityId, examStudentCache.getRoomCode());
             } else {
                 teOrgSummaryService.updateOrgZeroSummary(examCacheBean.getOrgId(), 0);
                 teOrgSummaryService.updateOrgZeroSummary(0L, 0);
             }
             themisCacheService.updateOrgSummaryCache(0L);
             themisCacheService.updateOrgSummaryCache(examCacheBean.getOrgId());
+            themisCacheService.updateExamSummaryCache(examCacheBean.getId(), examActivityId, examStudentCache.getRoomCode());
+
             String examRecordChangeKey = examActivityId + "_" + examStudentCache.getRoomCode();
             themisCacheService.addExamRecordChangeCache(examRecordChangeKey, timestamp);