时间:2021-07-01 10:21:17 帮助过:106人阅读
public int addTypes(List babyList) { String sql = "insert into type (typeid,url) values (?,?) "; Connection conn = dbhelper.getConnection(driver,url,username,upwd); int result = 0; PreparedStatement stmt =null; try { stmt = conn.prepareStatement(sql); for(int i=0;i