日期:2014-05-17 浏览次数:20951 次
while(rs.next()){
petItem pi=new petItem();
pi.petId = rs.getString(1);
pi.petName = rs.getString(2);
pi.petType = rs.getString(3);
pi.petPrice = rs.getInt(4);
pi.petRemark = rs.getString(5);
al.add(pi);
}