修改查询语句

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) { } catch (SQLException e) {
throw new RuntimeException(e); throw new RuntimeException(e);
}finally { }finally {
close(hikariDataSource); // close(hikariDataSource);
} }
return dataValues; return dataValues;
} }
private static void close(HikariDataSource dataSource) { // private static void close(HikariDataSource dataSource) {
if (dataSource != null) { // if (dataSource != null) {
dataSource.close(); // dataSource.close();
} // }
} // }
//第一种方法 //第一种方法