goods.setPrice(resultSet.getBigDecimal("g_price"));
goods.setQuantity(resultSet.getInt("g_quantity"));
goods.setShelfLife(resultSet.getInt("g_shelf_life"));
goods.setMadeDate(resultSet.getDate("g_made_date"));
AgeLimit ageLimit = new AgeLimit();
ageLimit.setUid(resultSet.getInt("al_uid"));
ageLimit.setName(resultSet.getString("al_name"));
ageLimit.setMinAge(resultSet.getInt("al_min_age"));
ageLimit.setDescription(resultSet.getString("al_description"));
goods.setAgeLimit(ageLimit);
GoodsCondition goodsCondition = new GoodsCondition();
goodsCondition.setUid(resultSet.getInt("gc_uid"));
goodsCondition.setName(resultSet.getString("gc_name"));