Skip to content

Commit 42fd320

Browse files
committed
refactor: 修改 mybatis 配置
1 parent e7c56ce commit 42fd320

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

simple-application/src/main/resources/application.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ spring:
2020
max-idle: 8
2121
max-wait: -1
2222

23-
# mybatis config
24-
mybatis:
23+
# mybatis plus 配置
24+
mybatis-plus:
2525
mapper-locations: classpath*:mapper/**/*.xml
26-
type-aliases-package: top.cadecode
26+
type-aliases-package: top.cadecode.**.bean
27+
type-enums-package: top.cadecode.**.enums
2728
configuration:
2829
map-underscore-to-camel-case: true
2930

0 commit comments

Comments
 (0)