|
@@ -62,7 +62,11 @@ public class TEExamSummaryServiceImpl extends ServiceImpl<TEExamSummaryMapper, T
|
|
|
this.examSummaryCommon(examId, examActivityId, s, teExamSummary, freshen);
|
|
|
updateCache = true;
|
|
|
} else {
|
|
|
- themisCacheService.getExamSummaryCache(examId, examActivityId, s);
|
|
|
+ if (freshen) {
|
|
|
+ themisCacheService.updateExamSummaryCache(examId, examActivityId, s);
|
|
|
+ } else {
|
|
|
+ themisCacheService.getExamSummaryCache(examId, examActivityId, s);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
if (updateCache || freshen) {
|