return vos;
}
@Override
protected ProductInfo map2VO(ResultSet rs) throws SQLException {
ProductInfo product = new ProductInfo();
product.setId(rs.getString("id"));
product.setRef(rs.getString("reference"));
product.setCode(rs.getString("code"));
product.setName(rs.getString("name"));
product.setPriceBuy(rs.getDouble("pricebuy"));
product.setPriceSell(rs.getDouble("pricesell"));
product.setCategoryId(rs.getString("category"));
product.setTaxcat(rs.getString("taxcat"));
product.setCom(rs.getBoolean("iscom"));
product.setScale(rs.getBoolean("isscale"));
return product;
}