From b7c0f1a9a2fd3c4be7b357123f7291743a95c369 Mon Sep 17 00:00:00 2001
From: CMM <2198256324@qq.com>
Date: Mon, 19 Aug 2024 18:47:12 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E9=A1=B9=E5=9F=BA=E6=9C=AC=E4=BF=A1?=
=?UTF-8?q?=E6=81=AFirs=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
kq-vas-api/pom.xml | 18 ++-
.../src/main/java/com/ningdatech/kqapi/App.java | 2 +-
.../common/handler/GlobalResponseHandler.java | 3 +-
.../kqapi/irs/controller/IrsController.java | 47 +++++++
.../com/ningdatech/kqapi/irs/manage/IrsManage.java | 149 +++++++++++++++++++++
kq-vas-api/src/main/resources/application-dev.yml | 12 +-
kq-vas-api/src/main/resources/application-pre.yml | 12 +-
kq-vas-api/src/main/resources/application-prod.yml | 10 ++
.../src/main/resources/security/auth-dev.yml | 1 +
.../src/main/resources/security/auth-pre.yml | 1 +
.../src/main/resources/security/auth-prod.yml | 2 +
11 files changed, 248 insertions(+), 9 deletions(-)
create mode 100644 kq-vas-api/src/main/java/com/ningdatech/kqapi/irs/controller/IrsController.java
create mode 100644 kq-vas-api/src/main/java/com/ningdatech/kqapi/irs/manage/IrsManage.java
diff --git a/kq-vas-api/pom.xml b/kq-vas-api/pom.xml
index 2289230..20b5c38 100644
--- a/kq-vas-api/pom.xml
+++ b/kq-vas-api/pom.xml
@@ -90,11 +90,11 @@
org.springframework.boot
spring-boot-starter-aop
-
- com.fasterxml.jackson.core
- jackson-databind
- 2.16.1
-
+
+
+
+
+
com.github.ben-manes.caffeine
@@ -157,6 +157,14 @@
com.ningdatech
+ nd-irs-starter
+
+
+ com.ningdatech
+ nd-cache-starter
+
+
+ com.ningdatech
nd-file-starter
diff --git a/kq-vas-api/src/main/java/com/ningdatech/kqapi/App.java b/kq-vas-api/src/main/java/com/ningdatech/kqapi/App.java
index 06c69d8..9808e5f 100644
--- a/kq-vas-api/src/main/java/com/ningdatech/kqapi/App.java
+++ b/kq-vas-api/src/main/java/com/ningdatech/kqapi/App.java
@@ -24,7 +24,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableGlobalMethodSecurity(prePostEnabled = true)
@EnableTransactionManagement
@EnableAspectJAutoProxy(exposeProxy = true)
-@ComponentScan(basePackages = {"com.ningdatech.kqapi", "com.ningdatech.kqapi.common"})
+@ComponentScan(basePackages = {"com.ningdatech.kqapi", "com.ningdatech.kqapi.common", "com.ningdatech.irs"})
public class App {
protected static final String MAPPER_PACKAGES = "com.ningdatech.kqapi.**.mapper";
diff --git a/kq-vas-api/src/main/java/com/ningdatech/kqapi/common/handler/GlobalResponseHandler.java b/kq-vas-api/src/main/java/com/ningdatech/kqapi/common/handler/GlobalResponseHandler.java
index f6745b9..5e70910 100644
--- a/kq-vas-api/src/main/java/com/ningdatech/kqapi/common/handler/GlobalResponseHandler.java
+++ b/kq-vas-api/src/main/java/com/ningdatech/kqapi/common/handler/GlobalResponseHandler.java
@@ -23,7 +23,8 @@ import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice;
"com.ningdatech.kqapi.user.controller",
"com.ningdatech.kqapi.security.controller",
"com.ningdatech.kqapi.zzsfw.controller",
- "com.ningdatech.kqapi.scheduler.controller"
+ "com.ningdatech.kqapi.scheduler.controller",
+ "com.ningdatech.kqapi.irs.controller"
})
public class GlobalResponseHandler implements ResponseBodyAdvice