Skip to content

Commit 187a74f

Browse files
committed
feat: 配置 mybatis typeHandlerPackage 并加入 alias 扫描
1 parent afb6bfe commit 187a74f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

application/src/main/resources/application.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ pagehelper:
7979
# mybatis plus 配置
8080
mybatis-plus:
8181
mapper-locations: classpath*:mapper/**/*.xml
82-
type-aliases-package: top.cadecode.**.bean
82+
type-aliases-package: top.cadecode.**.bean,top.cadecode.**.mybatis.handler
8383
type-enums-package: top.cadecode.**.enums
84+
type-handlers-package: top.cadecode.uniboot.**.mybatis.handler
8485
configuration:
8586
map-underscore-to-camel-case: true
8687

0 commit comments

Comments
 (0)