Commit ccee45b8 authored by Data-王博's avatar Data-王博

湖北消金 - 批扣文件

parent e9c521c1
...@@ -48,7 +48,7 @@ public class MyBatisConfig { ...@@ -48,7 +48,7 @@ public class MyBatisConfig {
props.put("password", env.getProperty("api.jdbc.password")); props.put("password", env.getProperty("api.jdbc.password"));
props.put("maxActive",env.getProperty("api.jdbc.maxActive")); props.put("maxActive",env.getProperty("api.jdbc.maxActive"));
props.put("minIdle",env.getProperty("api.jdbc.minIdle")); props.put("minIdle",env.getProperty("api.jdbc.minIdle"));
props.put("maxWait","300"); props.put("maxWait","600");
props.put("validationQuery","select 1 "); props.put("validationQuery","select 1 ");
return DruidDataSourceFactory.createDataSource(props); return DruidDataSourceFactory.createDataSource(props);
} catch (Exception e) { } catch (Exception e) {
...@@ -68,7 +68,7 @@ public class MyBatisConfig { ...@@ -68,7 +68,7 @@ public class MyBatisConfig {
props.put("password", env.getProperty("system.jdbc.password")); props.put("password", env.getProperty("system.jdbc.password"));
props.put("maxActive",env.getProperty("system.jdbc.maxActive")); props.put("maxActive",env.getProperty("system.jdbc.maxActive"));
props.put("minIdle",env.getProperty("system.jdbc.minIdle")); props.put("minIdle",env.getProperty("system.jdbc.minIdle"));
props.put("maxWait","300"); props.put("maxWait","600");
props.put("validationQuery","select 1 "); props.put("validationQuery","select 1 ");
return DruidDataSourceFactory.createDataSource(props); return DruidDataSourceFactory.createDataSource(props);
} catch (Exception e) { } catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment