diff --git a/chsm-web-manage/pom.xml b/chsm-web-manage/pom.xml
index 4ac60cc..7ccb1a9 100644
--- a/chsm-web-manage/pom.xml
+++ b/chsm-web-manage/pom.xml
@@ -70,10 +70,7 @@
cn.hutool
hutool-core
-
- org.apache.commons
- commons-pool2
-
+
org.apache.commons
commons-lang3
@@ -82,11 +79,7 @@
commons-codec
commons-codec
-
-
- net.java.dev.jna
- jna
-
+
io.swagger
swagger-annotations
diff --git a/chsm-web-server/pom.xml b/chsm-web-server/pom.xml
index 7592527..92c954c 100644
--- a/chsm-web-server/pom.xml
+++ b/chsm-web-server/pom.xml
@@ -30,6 +30,10 @@
${project.version}
+
+ com.dm
+ DmJdbcDriver
+
diff --git a/chsm-web-server/src/main/resources/application.yml b/chsm-web-server/src/main/resources/application.yml
new file mode 100644
index 0000000..a1e566e
--- /dev/null
+++ b/chsm-web-server/src/main/resources/application.yml
@@ -0,0 +1,62 @@
+server:
+ port: 89
+ tomcat:
+ uri-encoding: UTF-8
+ threads:
+ max: 1000
+ min-spare: 30
+
+spring:
+ main:
+ allow-circular-references: true
+ # 数据源
+ datasource:
+ driverClassName: dm.jdbc.driver.DmDriver
+ url: jdbc:dm://172.16.17.236:5236?schema=SSP&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&useSSL=true&characterEncoding=UTF-8
+ username: SUNYARD
+ # Jasypt加密 可到common-utils中找到JasyptUtil加解密工具类生成加密结果 格式为ENC(加密结果)
+ password: 123456
+ hikari:
+ minimum-idle: 5
+ maximum-pool-size: 100
+ idle-timeout: 600000 # 空闲连接的最大等待时间,单位为毫秒 (10 分钟)
+ max-lifetime: 1800000 # 连接池中连接的最大存活时间,单位为毫秒 (30 分钟)
+ connection-timeout: 30000 # 获取连接的超时时间,单位为毫秒 (30 秒)
+ leak-detection-threshold: 2000 # 连接泄漏检测阈值,单位为毫秒 (2 秒)
+ # 连接测试配置,确保连接有效性
+ connection-test-query: SELECT 1
+ validation-timeout: 5000 # 验证连接的超时时间,单位为毫秒 (5 秒)
+ jackson:
+ time-zone: GMT+8
+ date-format: yyyy-MM-dd HH:mm:ss
+
+mybatis-plus:
+ mapper-locations: classpath*:mapper/**/*Mapper.xml
+ # 原生配置
+ configuration:
+ log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
+ map-underscore-to-camel-case: true
+ cache-enabled: false
+ lazy-loading-enabled: false
+ global-config:
+ # 数据库相关配置
+ db-config:
+ #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
+ id-type: AUTO
+ #驼峰下划线转换
+ table-underline: true
+ #是否开启大写命名,默认不开启
+ capital-mode: true
+ #逻辑删除配置
+ #logic-delete-value: 1
+ #logic-not-delete-value: 0
+
+logging:
+ level:
+ root: info
+ com.sunyard.chsm.mapper: debug
+# org.springframework.web: trace
+# config: classpath:log4j2.xml
+
+
+
diff --git a/chsm-web-server/src/main/resources/logback.xml b/chsm-web-server/src/main/resources/logback.xml
new file mode 100644
index 0000000..0def50d
--- /dev/null
+++ b/chsm-web-server/src/main/resources/logback.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${LOG_PATTERN}
+ UTF-8
+
+
+
+ ${LOG_HOME}/info.log
+
+ ${LOG_HOME}/%d{yyyy-MM}/INFO-%d{yyyy-MM-dd}_%i.log
+
+ 10MB
+
+ 30
+
+ 20GB
+
+
+
+ ${LOG_PATTERN}
+ UTF-8
+
+
+ INFO
+
+
+
+
+ ${LOG_HOME}/debug.log
+
+ ${LOG_HOME}/%d{yyyy-MM}/sspweb-DEBUG-%d{yyyy-MM-dd}_%i.log
+
+ 10MB
+
+ 30
+
+ 20GB
+
+
+
+ ${LOG_PATTERN}
+ UTF-8
+
+
+ DEBUG
+
+
+
+
+ ${LOG_HOME}/error.log
+
+ ${LOG_HOME}/%d{yyyy-MM}/ERROR-%d{yyyy-MM-dd}_%i.log
+
+ 10MB
+
+ 30
+
+ 20GB
+
+
+
+ ${LOG_PATTERN}
+ UTF-8
+
+
+ ERROR
+
+
+
+
+
+
+
+
+
+
+
+
+