diff --git a/VOL.Business/Services/School/S_StudentService.cs b/VOL.Business/Services/School/S_StudentService.cs index 9be2b33..c0949e4 100644 --- a/VOL.Business/Services/School/S_StudentService.cs +++ b/VOL.Business/Services/School/S_StudentService.cs @@ -437,9 +437,6 @@ namespace VOL.Business.Services.School public async Task BatchDeleteStudents(List ids) { - if (UserContext.Current.RoleId != 1 && UserContext.Current.RoleId != 2) - throw new Exception("仅管理员可以批量删除学生"); - if (UserContext.Current.RoleId != 1) { var menuIds = await _studentRepository.DbContext.Set()