Browse Source

通用mybatis-config移入admin模块

pull/90/MERGE
RuoYi 6 years ago
parent
commit
c78802481e
  1. 2
      ruoyi-admin/src/main/resources/application.yml
  2. 0
      ruoyi-admin/src/main/resources/mybatis/mybatis-config.xml

2
ruoyi-admin/src/main/resources/application.yml

@ -75,7 +75,7 @@ mybatis:
# 配置mapper的扫描,找到所有的mapper.xml映射文件 # 配置mapper的扫描,找到所有的mapper.xml映射文件
mapperLocations: classpath*:mapper/**/*Mapper.xml mapperLocations: classpath*:mapper/**/*Mapper.xml
# 加载全局的配置文件 # 加载全局的配置文件
configLocation: classpath:mapper/mybatis-config.xml configLocation: classpath:mybatis/mybatis-config.xml
# PageHelper分页插件 # PageHelper分页插件
pagehelper: pagehelper:

0
ruoyi-system/src/main/resources/mapper/mybatis-config.xml → ruoyi-admin/src/main/resources/mybatis/mybatis-config.xml

Loading…
Cancel
Save