public EquityQuote quote(StockVO stockVO, PMDate date) { Map paramMap = new HashMap(); paramMap.put("StockID", stockVO.getId()); paramMap.put("PMDate", date.getIntVal()); return (EquityQuote) super.queryForObject("getQuoteForStockIDDate", paramMap); }
public EquityQuote getQuote(StockVO stockVO) { return (EquityQuote) super.queryForObject("getLastQuoteForID", stockVO.getId()); }