소스 검색

数据脚本更改

wangliang 2 년 전
부모
커밋
10d8cc0c8d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      distributed-print-business/src/main/java/com/qmth/distributed/print/business/backup/MySQLDatabaseBackup.java

+ 2 - 0
distributed-print-business/src/main/java/com/qmth/distributed/print/business/backup/MySQLDatabaseBackup.java

@@ -244,6 +244,8 @@ public class MySQLDatabaseBackup {
                         commonCacheService.removeSysConfigCache(s.getSchoolId(), s.getConfigKey());
                     }
                 }
+                commonCacheService.removeSchoolRoleCache(schoolId);
+                commonCacheService.removeSchoolPrivilegeCache(schoolId);
                 if (Objects.nonNull(file)) {
                     file.delete();
                 }