From 338f2f5afc7762dabf2409f296d5d023462ed4b5 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期四, 28 八月 2025 17:18:25 +0800
Subject: [PATCH] 部分新功能

---
 multi-system/src/main/java/com/gkhy/exam/system/service/impl/CompanyRosterServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/CompanyRosterServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/CompanyRosterServiceImpl.java
index b924f0a..f1580e2 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/CompanyRosterServiceImpl.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/CompanyRosterServiceImpl.java
@@ -33,7 +33,7 @@
 
     @Override
     public CommonPage selectCompanyRosterList(Integer companyId) {
-        boolean admin = SecurityUtils.isAdmin(SecurityUtils.getUserId());
+        boolean admin = SecurityUtils.adminUser();
         if (!admin){
             if (companyId==null){
                 throw new ApiException("非管理员操作,查询条件不可为空");

--
Gitblit v1.9.2