Пример #1
0
 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);
 }
Пример #2
0
 public EquityQuote getQuote(StockVO stockVO) {
   return (EquityQuote) super.queryForObject("getLastQuoteForID", stockVO.getId());
 }