| | |
| | | String symbol = item.getSymbol(); |
| | | Realtime realtime = klineService.findLatestRealtime(symbol); |
| | | if (null != realtime) { |
| | | DataCache.putLatestRealTime(symbol, realtime); |
| | | //停牌时不更新 |
| | | if (!itemService.isSuspended(symbol)) { |
| | | DataCache.putLatestRealTime(symbol, realtime); |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | DataCache.latestRealTimeMap_60s.put(symbol, list); |
| | | if (CollectionUtil.isNotEmpty(list)) { |
| | | DataCache.putLatestRealTime(symbol, list.get(0)); |
| | | //停牌时不更新 |
| | | if (!itemService.isSuspended(symbol)) { |
| | | DataCache.putLatestRealTime(symbol, list.get(0)); |
| | | } |
| | | } |
| | | } |
| | | |