代码调优

This commit is contained in:
myh 2023-10-07 19:54:42 +08:00
parent b33ec7e404
commit 5e032c11b4

View File

@ -7,7 +7,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.sql.SQLException; import java.sql.SQLException;
public class CommonDao<T> { public class CommonDao {
DataBaseUtil dataBaseUtil = new DataBaseUtil(); DataBaseUtil dataBaseUtil = new DataBaseUtil();
public int delete(Connection ct, PreparedStatement ps, ResultSet rs, public int delete(Connection ct, PreparedStatement ps, ResultSet rs,
String sql, Long id) { String sql, Long id) {