解决反复插入info问题

This commit is contained in:
sjm committed 2023-07-08 15:16:21 +08:00
1 parent 6e8fb74eec
commit a3216f3e21
1 file changed
+1 -1
+1 -1
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);
}