فهرست منبع

feature: 代码清理

luo.yibo@datuai.com 1 سال پیش
والد
کامیت
d5f6d5df54

+ 1 - 0
.gitignore

@@ -47,3 +47,4 @@ nbdist/
 .flattened-pom.xml
 /jrebel-classpath-27688.jar
 /ruoyi-server/ruoyi-server-consume/Dockerfile
+/qodana.yaml

+ 0 - 5
ruoyi-server/ruoyi-server-sync/src/main/java/org/dromara/server/sync/service/SyncGraduateService.java

@@ -11,9 +11,7 @@ import org.dromara.common.core.constant.DefaultConstants;
 import org.dromara.common.core.exception.ServiceException;
 import org.dromara.common.core.utils.SpringUtils;
 import org.dromara.server.base.service.dept.strategy.ISyncDeptStrategy;
-import org.dromara.server.base.service.dept.strategy.SyncDeptStrategyContent;
 import org.dromara.server.base.service.user.strategy.ISyncUserStrategy;
-import org.dromara.server.base.service.user.strategy.SyncUserStrategyContent;
 import org.dromara.server.common.constant.SyncResourceConstants;
 import org.dromara.server.common.domain.bo.ResourceDept;
 import org.dromara.server.common.domain.bo.ResourcePerson;
@@ -38,10 +36,7 @@ import java.util.List;
 @Slf4j
 @RequiredArgsConstructor
 public class SyncGraduateService {
-    private final SyncDeptStrategyContent syncDeptStrategyContent;
-    private final SyncUserStrategyContent syncUserStrategyContent;
     private final DefaultConfig defaultConfig;
-    private final SpringUtils springUtils;
 
     /**
      * 全量同步研究生班级

+ 0 - 4
ruoyi-server/ruoyi-server-sync/src/main/java/org/dromara/server/sync/service/SyncHrService.java

@@ -7,9 +7,7 @@ import org.dromara.common.core.config.DefaultConfig;
 import org.dromara.common.core.constant.DefaultConstants;
 import org.dromara.common.core.utils.SpringUtils;
 import org.dromara.server.base.service.dept.strategy.ISyncDeptStrategy;
-import org.dromara.server.base.service.dept.strategy.SyncDeptStrategyContent;
 import org.dromara.server.base.service.user.strategy.ISyncUserStrategy;
-import org.dromara.server.base.service.user.strategy.SyncUserStrategyContent;
 import org.dromara.server.common.constant.SyncResourceConstants;
 import org.dromara.server.common.domain.bo.ResourceDept;
 import org.dromara.server.common.domain.bo.ResourcePerson;
@@ -34,8 +32,6 @@ import java.util.List;
 @Slf4j
 @RequiredArgsConstructor
 public class SyncHrService {
-    private final SyncDeptStrategyContent syncDeptStrategyContent;
-    private final SyncUserStrategyContent syncUserStrategyContent;
     private final DefaultConfig defaultConfig;
 
     /**

+ 0 - 4
ruoyi-server/ruoyi-server-sync/src/main/java/org/dromara/server/sync/service/SyncTrainService.java

@@ -13,9 +13,7 @@ import org.dromara.common.core.enums.TraineeStatusEnum;
 import org.dromara.common.core.exception.ServiceException;
 import org.dromara.common.core.utils.SpringUtils;
 import org.dromara.server.base.service.dept.strategy.ISyncDeptStrategy;
-import org.dromara.server.base.service.dept.strategy.SyncDeptStrategyContent;
 import org.dromara.server.base.service.user.strategy.ISyncUserStrategy;
-import org.dromara.server.base.service.user.strategy.SyncUserStrategyContent;
 import org.dromara.server.common.constant.SyncResourceConstants;
 import org.dromara.server.common.domain.bo.ResourceDept;
 import org.dromara.server.common.domain.bo.ResourcePerson;
@@ -41,8 +39,6 @@ import java.util.List;
 @Slf4j
 @RequiredArgsConstructor
 public class SyncTrainService {
-    private final SyncDeptStrategyContent syncDeptStrategyContent;
-    private final SyncUserStrategyContent syncUserStrategyContent;
     private final DefaultConfig defaultConfig;
 
     /**