From 26be89f0c7667e77f8bc7705cf30757e101ed2d8 Mon Sep 17 00:00:00 2001
From: qianshijiang <1965297290@qq.com>
Date: Mon, 24 Nov 2025 14:42:55 +0800
Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=89=93=E5=8D=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/application.yml | 2 +
.../src/main/resources/logback-spring.xml | 76 +++++++++++++++++++
.../src/main/resources/application.yml | 2 +
.../src/main/resources/logback-spring.xml | 10 +--
4 files changed, 85 insertions(+), 5 deletions(-)
create mode 100644 base-server/src/main/resources/logback-spring.xml
diff --git a/base-server/src/main/resources/application.yml b/base-server/src/main/resources/application.yml
index 7eb362ae..4e9bb026 100644
--- a/base-server/src/main/resources/application.yml
+++ b/base-server/src/main/resources/application.yml
@@ -72,6 +72,8 @@ knife4j:
# MyBatis Plus 的配置项
mybatis-plus:
+ mapper-locations:
+ - classpath*:mapper/**/*.xml
configuration:
map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
global-config:
diff --git a/base-server/src/main/resources/logback-spring.xml b/base-server/src/main/resources/logback-spring.xml
new file mode 100644
index 00000000..2bde9644
--- /dev/null
+++ b/base-server/src/main/resources/logback-spring.xml
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ ${PATTERN_DEFAULT}
+
+
+
+
+
+
+
+
+
+ ${PATTERN_DEFAULT}
+
+
+
+ ${LOG_FILE}
+
+
+ ${LOGBACK_ROLLINGPOLICY_FILE_NAME_PATTERN:-${LOG_FILE}.%d{yyyy-MM-dd}.%i.gz}
+
+ ${LOGBACK_ROLLINGPOLICY_CLEAN_HISTORY_ON_START:-false}
+
+ ${LOGBACK_ROLLINGPOLICY_MAX_FILE_SIZE:-10MB}
+
+ ${LOGBACK_ROLLINGPOLICY_TOTAL_SIZE_CAP:-0}
+
+ ${LOGBACK_ROLLINGPOLICY_MAX_HISTORY:-30}
+
+
+
+
+
+ 0
+
+ 256
+
+
+
+
+
+
+
+ ${PATTERN_DEFAULT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/zt-module-contract-order/zt-module-contract-order-server/src/main/resources/application.yml b/zt-module-contract-order/zt-module-contract-order-server/src/main/resources/application.yml
index ba3ad1bf..5baca3de 100644
--- a/zt-module-contract-order/zt-module-contract-order-server/src/main/resources/application.yml
+++ b/zt-module-contract-order/zt-module-contract-order-server/src/main/resources/application.yml
@@ -72,6 +72,8 @@ knife4j:
# MyBatis Plus 的配置项
mybatis-plus:
+ mapper-locations:
+ - classpath*:mapper/**/*.xml
configuration:
map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
global-config:
diff --git a/zt-module-contract-order/zt-module-contract-order-server/src/main/resources/logback-spring.xml b/zt-module-contract-order/zt-module-contract-order-server/src/main/resources/logback-spring.xml
index 66410855..2bde9644 100644
--- a/zt-module-contract-order/zt-module-contract-order-server/src/main/resources/logback-spring.xml
+++ b/zt-module-contract-order/zt-module-contract-order-server/src/main/resources/logback-spring.xml
@@ -1,8 +1,8 @@
-
-
+
+
@@ -57,7 +57,7 @@
-
+
@@ -65,8 +65,8 @@
-
-
+
+