解决反复插入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{ }else{
return back; return back;
} }
JdbcUtils.closeConnection(rs,prep,conn);
return back; return back;
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} finally { } finally {
JdbcUtils.closeConnection(preparedStatement, connection); JdbcUtils.closeConnection(preparedStatement, connection);
} }