caozixuan 4 anni fa
parent
commit
9e92da0312

+ 6 - 3
teachcloud-report-business/src/main/java/com/qmth/teachcloud/report/business/templete/execute/AsyncDataCalculateTempleteService.java

@@ -72,9 +72,12 @@ public class AsyncDataCalculateTempleteService extends AsyncCalculateTaskTemplet
         }finally {
 
             tbExamCourseService.updateById(tbExamCourse);
-//            if (Objects.isNull(exception)){
-//                cacheService.removeExamStudentReportCache();
-//            }
+            if (Objects.isNull(exception)){
+                cacheService.removeExamStudentReportCache();
+                cacheService.removeCollegeDeanCache();
+                cacheService.removeCollegeCourseCache();
+                cacheService.removeSurveyTeacherViewCache();
+            }
         }
         return ResultUtil.ok(map);
     }