修改查询语句

master
lwj 2024-09-09 09:02:17 +08:00
parent ac03f6e96f
commit e3d633e7f2
1 changed files with 6 additions and 6 deletions

View File

@ -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();
// }
// }
//第一种方法