删除班级

This commit is contained in:
2026-08-20 10:44:07 +08:00
parent f12851acc3
commit 6ce9a00528
@@ -220,7 +220,7 @@ public class SchClassInfoService {
// if (count > 0) throw new DException("班级下还有学生");
schClassRepository.deleteById(id);
cacheService.clearClassCache(schId);
sendUserBaseService.deleteGroup(id, schId);
sendUserBaseService.deleteGroup(schClass.getClassId(), schId);
String content = logService.buildDeleteClassLog(schId, schClass);
LogContextHolder.setDescription(content);
}