heheng
2025-06-17 c8d1a07654ab41983f107ba039a1c3b6e362e85d
multi-system/src/main/java/com/gkhy/exam/system/service/impl/InformationPlatformServiceImpl.java
@@ -12,7 +12,6 @@
import org.springframework.stereotype.Service;
import java.time.LocalDateTime;
import java.util.Collections;
import java.util.List;
/**
@@ -27,7 +26,7 @@
    @Override
    public List<InformationPlatform> getInformationPlatforms(Long companyId) {
        if (companyId == null) {
            companyId = SecurityUtils.getLoginUser().getUser().getCompanyId();
            companyId = SecurityUtils.getCompanyId();
        }
        LambdaQueryWrapper<InformationPlatform> queryWrapper = new LambdaQueryWrapper<>();
        queryWrapper.eq(InformationPlatform::getCompanyId, companyId);
@@ -41,7 +40,7 @@
    @Override
    public int saveInformationPlatform(InformationPlatform informationPlatform) {
        Long companyId = informationPlatform.getCompanyId();
        if (!companyId.equals(SecurityUtils.getLoginUser().getUser().getCompanyId())){
        if (!companyId.equals(SecurityUtils.getCompanyId())){
            throw new ApiException("无权操作!");
        }