From eb71761e48cc18972b64d1e0abc1e34a3d8bc546 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期一, 30 六月 2025 15:03:46 +0800
Subject: [PATCH] 新功能模块

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

diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/InformationPlatformServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/InformationPlatformServiceImpl.java
index a28fe7b..e85eaef 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/InformationPlatformServiceImpl.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/InformationPlatformServiceImpl.java
@@ -25,11 +25,11 @@
 
     @Override
     public List<InformationPlatform> getInformationPlatforms(Long companyId) {
-        if (companyId == null) {
-            companyId = SecurityUtils.getCompanyId();
-        }
+
         LambdaQueryWrapper<InformationPlatform> queryWrapper = new LambdaQueryWrapper<>();
-        queryWrapper.eq(InformationPlatform::getCompanyId, companyId);
+        if (companyId != null){
+            queryWrapper.eq(InformationPlatform::getCompanyId, companyId);
+        }
         queryWrapper.eq(InformationPlatform::getDelFlag, UserConstant.ENABLE);
         queryWrapper.orderByDesc(InformationPlatform::getCreateTime);
 

--
Gitblit v1.9.2