From d7f6103047cc5a4242ea82dd7c1ad70d1bd39503 Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期五, 14 十月 2022 10:15:08 +0800 Subject: [PATCH] equipment模块 加入连接keepAlive --- safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/MyBatisConfigIncidentManage.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/MyBatisConfigIncidentManage.java b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/MyBatisConfigIncidentManage.java index d372a3d..73504d4 100644 --- a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/MyBatisConfigIncidentManage.java +++ b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/MyBatisConfigIncidentManage.java @@ -46,7 +46,7 @@ throws Exception { MybatisSqlSessionFactoryBean factoryBean = new MybatisSqlSessionFactoryBean(); - factoryBean.setDataSource(dataSource); + factoryBean.setDataSource(dsIncidentManage); ResourcePatternResolver resolver = new PathMatchingResourcePatternResolver(); //------------------- -- Gitblit v1.9.2