28 lines
821 B
YAML
28 lines
821 B
YAML
# PageHelper分页插件
|
||
pagehelper:
|
||
helperDialect: mysql
|
||
supportMethodsArguments: true
|
||
params: count=countSql
|
||
|
||
createSqlSessionFactory:
|
||
# 选择MyBatis配置方式,mybatis / mybatis-plus
|
||
use: mybatis
|
||
|
||
# MyBatis配置
|
||
mybatis:
|
||
# 搜索指定包别名
|
||
typeAliasesPackage: com.ruoyi.**.domain
|
||
# 配置mapper的扫描,找到所有的mapper.xml映射文件
|
||
mapperLocations: classpath*:mapper/**/*Mapper.xml
|
||
# 加载全局的配置文件
|
||
configLocation: classpath:mybatis/mybatis-config.xml
|
||
|
||
# MyBatis Plus配置
|
||
mybatis-plus:
|
||
# 搜索指定包别名
|
||
typeAliasesPackage: com.ruoyi.**.domain
|
||
# 配置mapper的扫描,找到所有的mapper.xml映射文件
|
||
mapperLocations: classpath*:mapper/**/*Mapper.xml
|
||
# 加载全局的配置文件
|
||
configLocation: classpath:mybatis/mybatis-config.xml
|