From 9d2573b9c368b70e73a9a876939356696c0afa28 Mon Sep 17 00:00:00 2001 From: ltx <1006158920@qq.com> Date: Thu, 15 Oct 2026 16:09:35 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E6=89=B9=E9=87=8F=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VOL.Business/Services/School/S_StudentService.cs | 3 --- 1 file changed, 3 deletions(-) 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()