配置mybatis

This commit is contained in:
fjy8018@qq.com
2018-07-06 10:00:17 +08:00
parent e5e783256f
commit 435480d590
2 changed files with 9 additions and 1 deletions

View File

@@ -4,4 +4,8 @@ spring:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/db_imis2?useUnicode=true&characterEncoding=utf-8&useSSL=true
username: trs
password: shiro
password: shiro
## 配置mybatis ##
mybatis:
mapper-locations: mappers/*.xml
type-aliases-package: top.fjy8018.shiro.dataobject