解决反复插入info问题

This commit is contained in:
sjm
2023-07-08 15:16:21 +08:00
parent 6e8fb74eec
commit a3216f3e21

View File

@@ -52,10 +52,10 @@ public class githubDao {
}else{
return back;
}
JdbcUtils.closeConnection(rs,prep,conn);
return back;
} catch (Exception e) {
e.printStackTrace();
} finally {
JdbcUtils.closeConnection(preparedStatement, connection);
}