From ae3fdf1c467c692b498ac0dd4c366e1e848e7a56 Mon Sep 17 00:00:00 2001 From: "yangkai.shen" <237497819@qq.com> Date: Tue, 28 Nov 2017 11:25:40 +0800 Subject: [PATCH] mybatis demo bug fix --- spring-boot-demo-orm-mybatis/src/main/resources/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-demo-orm-mybatis/src/main/resources/application.yml b/spring-boot-demo-orm-mybatis/src/main/resources/application.yml index 2ace76a..e6239a3 100644 --- a/spring-boot-demo-orm-mybatis/src/main/resources/application.yml +++ b/spring-boot-demo-orm-mybatis/src/main/resources/application.yml @@ -52,7 +52,7 @@ spring: merge-sql: true # mybatis 配置 mybatis: - type-aliases-package: com.xkcoding.springbootdemoormmybatistis.model + type-aliases-package: com.xkcoding.springbootdemoormmybatis.model mapper-locations: classpath:mapper/*.xml # 配置项:开启下划线到驼峰的自动转换. 作用:将数据库字段根据驼峰规则自动注入到对象属性 configuration: