优化 activiti 的配置,简单 Mapper XML 的配置,且减少 Mapper 的 SQL 日志的输出~

This commit is contained in:
YunaiV
2022-01-16 02:55:25 +08:00
parent db3c713122
commit 94c115a142
4 changed files with 15 additions and 80 deletions

View File

@@ -35,28 +35,13 @@ spring:
# MyBatis Plus 的配置项
mybatis-plus:
# 在 mybatis-config/mybatis-config.xml 中设置 TODO jason看看有没其它解决方案
# configuration:
# map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 打印日志
configuration:
map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
global-config:
db-config:
id-type: AUTO # 自增 ID
logic-delete-value: 1 # 逻辑已删除值(默认为 1)
logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
mapper-locations: classpath*:mapper/*.xml
config-location: classpath:mybatis-config/mybatis-config.xml
configuration-properties:
prefix: ""
wildcardEscapeClause: ""
limitBefore: ""
limitAfter: "LIMIT #{maxResults} OFFSET #{firstResult}"
limitBetween: ""
limitOuterJoinBetween: ""
limitBeforeNativeQuery: ""
orderBy: "order by ${orderByColumns}"
blobType: "BLOB"
boolValue: "TRUE"
type-aliases-package: ${yudao.info.base-package}.modules.*.dal.dataobject, ${yudao.core-service.base-package}.modules.*.dal.dataobject
--- #################### 芋道相关配置 ####################