From 9e7ee2d8ad0b8684a2e13de7fe7838d79e09478b Mon Sep 17 00:00:00 2001 From: SZH <szh_hello@163.com> Date: 星期二, 23 八月 2022 16:43:01 +0800 Subject: [PATCH] 修改数据库连接配置 增加环境配置文件 --- safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/MyBatisConfigEquipment.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/MyBatisConfigEquipment.java b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/MyBatisConfigEquipment.java index ad051a5..0237202 100644 --- a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/MyBatisConfigEquipment.java +++ b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/MyBatisConfigEquipment.java @@ -46,7 +46,7 @@ throws Exception { MybatisSqlSessionFactoryBean factoryBean = new MybatisSqlSessionFactoryBean(); - factoryBean.setDataSource(dataSource); + factoryBean.setDataSource(dsEquipment); ResourcePatternResolver resolver = new PathMatchingResourcePatternResolver(); //------------------- -- Gitblit v1.9.2