修改查询语句
parent
ac03f6e96f
commit
e3d633e7f2
|
@ -244,16 +244,16 @@ public class MySqlDataSource extends BaseDataAbsSource {
|
|||
} catch (SQLException e) {
|
||||
throw new RuntimeException(e);
|
||||
}finally {
|
||||
close(hikariDataSource);
|
||||
// close(hikariDataSource);
|
||||
}
|
||||
|
||||
return dataValues;
|
||||
}
|
||||
private static void close(HikariDataSource dataSource) {
|
||||
if (dataSource != null) {
|
||||
dataSource.close();
|
||||
}
|
||||
}
|
||||
// private static void close(HikariDataSource dataSource) {
|
||||
// if (dataSource != null) {
|
||||
// dataSource.close();
|
||||
// }
|
||||
// }
|
||||
//第一种方法
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue