heheng
9 天以前 e81044d3375d00f08c2b4d66c1d09d18873360ba
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;
/**
@@ -40,10 +39,10 @@
    @Override
    public int saveInformationPlatform(InformationPlatform informationPlatform) {
        Long companyId = informationPlatform.getCompanyId();
        if (!companyId.equals(SecurityUtils.getCompanyId())){
            throw new ApiException("无权操作!");
        }
//        Long companyId = informationPlatform.getCompanyId();
//        if (!companyId.equals(SecurityUtils.getCompanyId())){
//            throw new ApiException("无权操作!");
//        }
        if (informationPlatform.getId() != null){
            informationPlatform.setUpdateTime(LocalDateTime.now());