public void updateQuotes(List<EquityQuote> quoteVOs) { super.startBatch(); for (EquityQuote quoteVO : quoteVOs) { updateQuote(quoteVO); } super.executeBatch(); }
public void updateStockId(int fromStockId, int toStockId) { Map<String, Object> params = new HashMap<String, Object>(); params.put("from", fromStockId); params.put("to", toStockId); params.put("table", "QUOTE"); super.update("updateStockID", params); }
public void updateAdjustedClose(String stockCode, PMDate exDate, float ratio) { Map<String, Object> params = new HashMap<String, Object>(); params.put("exDate", exDate); params.put("stockCode", stockCode); params.put("ratio", ratio); super.update("updateAdjustedClose", params); }
public void insertQuote(EquityQuote quoteVO) { logger.info(quoteVO); super.insert("insertQuote", quoteVO); }
public void deleteWatchlistByStockId(int stockId) { super.delete("deleteWLByStockId", stockId); }
public void deleteWatchlistGroup(int watchlistGroupId) { super.delete("deleteAllWatchlist", watchlistGroupId); }
public void insertWatchlistVOs(List<WatchlistVO> watchlistVOs) { for (WatchlistVO watchlistVO : watchlistVOs) { super.insert("insertWatchlist", watchlistVO); } }
public void updateWatchlistGroup(WatchlistDetailsVO detailsVO) { super.update("updateWatchlistGroup", detailsVO); }
public void insertWatchlistGroup(WatchlistDetailsVO detailsVO) { super.insert("insertWatchlistGroup", detailsVO); }