From 55f7e6cdbd00b0ab4a98fb8edde83e16a423baaa Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Wed, 29 Apr 2026 15:17:36 +0800
Subject: [PATCH] 修改minio配置

---
 multi-system/src/main/java/com/gkhy/exam/system/service/impl/InternalAuditCarryServiceImpl.java |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/InternalAuditCarryServiceImpl.java b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/InternalAuditCarryServiceImpl.java
index 06a8bb4..ee96db9 100644
--- a/multi-system/src/main/java/com/gkhy/exam/system/service/impl/InternalAuditCarryServiceImpl.java
+++ b/multi-system/src/main/java/com/gkhy/exam/system/service/impl/InternalAuditCarryServiceImpl.java
@@ -13,19 +13,20 @@
 import com.gkhy.exam.system.mapper.InternalAuditCheckCatalogueMapper;
 import com.gkhy.exam.system.mapper.InternalAuditCheckContentMapper;
 import com.gkhy.exam.system.mapper.SysClauseManagementMapper;
+import com.gkhy.exam.system.service.ExStudentService;
 import com.gkhy.exam.system.service.InternalAuditCarryService;
 import com.gkhy.exam.system.service.InternalAuditCheckService;
-import org.checkerframework.checker.units.qual.A;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.util.CollectionUtils;
-import org.springframework.util.StringUtils;
 
 import java.time.LocalDate;
 import java.time.LocalDateTime;
 import java.time.LocalTime;
-import java.util.*;
-import java.util.function.Function;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
 import java.util.stream.Collectors;
 
 @Service
@@ -74,7 +75,7 @@
                 .eq(InternalAuditCarry::getYear, carry.getYear())
                 .eq(InternalAuditCarry::getDelFlag,1));
         if (internalAuditCarries.size()>0){
-            throw new ApiException("当前企业已有相关数据");
+            return CommonResult.failed("当前企业已有相关数据");
         }
         carry.setCreateBy(SecurityUtils.getUsername());
         carry.setCreateTime(LocalDateTime.now());

--
Gitblit v1.9.2