删除班级
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user