班级同步

This commit is contained in:
2026-08-20 00:38:26 +08:00
parent 25b4d6ba1f
commit be754dc22c
8 changed files with 196 additions and 38 deletions
@@ -30,7 +30,11 @@ public interface IComSchTreeService {
List<SelectIntVO> getSchoolList();
BoaGroup getTeaTree(Integer schId);
BoaGroup getTeaTree(Integer schId, Boolean withSub);
BoaGroup getStuTree(Integer schId, Boolean withSub);
List<BoaGroup> getAcademicStageGroupList(Integer schId);
void validateGroupsBelongToSchool(Integer schId,List<Integer> groupIds);
@@ -43,4 +47,15 @@ public interface IComSchTreeService {
String getSchoolName(Integer schId);
Map<Integer,List<SelectIntVO>> getSchGroupTypeList(Integer schId, int type);
/**
* 清除全部缓存(Redis 组树/学校列表 + 本地内存缓存)
*/
void clearCache();
/**
* 清除指定学校的缓存(学校组树 + 全局缓存)
* @param schId 学校ID,为 null 时等同清除全部
*/
void clearCache(Integer schId);
}