From c78802481e510b8c0b08e4c76916859e8c778a34 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Fri, 24 May 2019 09:00:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=94=A8mybatis-config=E7=A7=BB?= =?UTF-8?q?=E5=85=A5admin=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 2 +- .../resources/mybatis}/mybatis-config.xml | 30 +++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) rename {ruoyi-system/src/main/resources/mapper => ruoyi-admin/src/main/resources/mybatis}/mybatis-config.xml (97%) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 15622959f..5ae71764b 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -75,7 +75,7 @@ mybatis: # 配置mapper的扫描,找到所有的mapper.xml映射文件 mapperLocations: classpath*:mapper/**/*Mapper.xml # 加载全局的配置文件 - configLocation: classpath:mapper/mybatis-config.xml + configLocation: classpath:mybatis/mybatis-config.xml # PageHelper分页插件 pagehelper: diff --git a/ruoyi-system/src/main/resources/mapper/mybatis-config.xml b/ruoyi-admin/src/main/resources/mybatis/mybatis-config.xml similarity index 97% rename from ruoyi-system/src/main/resources/mapper/mybatis-config.xml rename to ruoyi-admin/src/main/resources/mybatis/mybatis-config.xml index c7c36e375..e8b52be8c 100644 --- a/ruoyi-system/src/main/resources/mapper/mybatis-config.xml +++ b/ruoyi-admin/src/main/resources/mybatis/mybatis-config.xml @@ -1,15 +1,15 @@ - - - - - - - - - - - - - + + + + + + + + + + + + +