达梦数据库驱动
This commit is contained in:
@@ -48,6 +48,11 @@
|
|||||||
<groupId>com.lideeyunji</groupId>
|
<groupId>com.lideeyunji</groupId>
|
||||||
<artifactId>lidee-module-biz</artifactId>
|
<artifactId>lidee-module-biz</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- 达梦数据库驱动 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.dameng</groupId>
|
||||||
|
<artifactId>DmJdbcDriver18</artifactId>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: lideeyunji-server
|
name: lideeyunji-server
|
||||||
profiles:
|
profiles:
|
||||||
# active: local # 读取配置
|
active: local # 读取配置
|
||||||
active: prod # 读取配置
|
# active: prod # 读取配置
|
||||||
main:
|
main:
|
||||||
allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。
|
allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。
|
||||||
|
|
||||||
@@ -61,11 +61,13 @@ flowable:
|
|||||||
# MyBatis Plus 的配置项
|
# MyBatis Plus 的配置项
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
configuration:
|
configuration:
|
||||||
|
# 达梦数据库配置
|
||||||
|
database-id: dm
|
||||||
map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
|
map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
|
||||||
jdbc-type-for-null: 'null'
|
jdbc-type-for-null: 'null'
|
||||||
global-config:
|
global-config:
|
||||||
db-config:
|
db-config:
|
||||||
id-type: NONE # “智能”模式,基于 IdTypeEnvironmentPostProcessor + 数据源的类型,自动适配成 AUTO、INPUT 模式。
|
id-type: ASSIGN_ID # “智能”模式,基于 IdTypeEnvironmentPostProcessor + 数据源的类型,自动适配成 AUTO、INPUT 模式。
|
||||||
logic-delete-value: 1 # 逻辑已删除值(默认为 1)
|
logic-delete-value: 1 # 逻辑已删除值(默认为 1)
|
||||||
logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
|
logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
|
||||||
banner: false # 关闭控制台的 Banner 打印
|
banner: false # 关闭控制台的 Banner 打印
|
||||||
|
|||||||
Reference in New Issue
Block a user