public class ABRow implements RowMapper<AABB> {
private String CMC;
@Override
public AABB mapRow(ResultSet rs, int rowNum) throws SQLException {
AABB a = new AABB();
a.setCDM(rs.getString("cdm"));
return a;
}
public String getCMC() {
return CMC;
}
public void setCMC(String CMC) {
this.CMC = CMC;
}
}
转载于:https://www.cnblogs.com/rhxuza1993/p/7728242.html