@Override public UserTradeBaseVo getUserWholeInfoByToken(String token) { if (StringUtils.isBlank(token)) { return null; } return cacheService.getUserWholeInfoByToken(token); }
@Override public void updateUserMonthlyCacheVo(List<UserMonthly> userMonthlys) { if (CollectionUtils.isEmpty(userMonthlys)) { return; } UserMonthlyCacheVo userMonthlyCacheVo = new UserMonthlyCacheVo(); for (UserMonthly userMonthly : userMonthlys) { userMonthlyCacheVo .getUserMonthlys() .put(userMonthly.getMonthlyPaymentRelation(), userMonthly); } cacheService.updateUserMonthlyCacheVo(userMonthlyCacheVo); }
@Override @LoggerProfile(methodNote = "批量设置章节缓存", recordTime = true) public void batchSetChapterCache(List<Chapter> chapterList) throws Exception { cacheService.batchSetChapterCache(chapterList); }
@Override @LoggerProfile(methodNote = "批量设置media主体缓存", recordTime = true) public void batchSetMediaCache(List<Media> mediaList) throws Exception { cacheService.batchSetMediaCache(mediaList); }
@Override @LoggerProfile(methodNote = "设置销售主体缓存", recordTime = true) public void setMediaSaleCache(MediaSale mediaSale) throws Exception { cacheService.setMediaSaleCache(mediaSale); }
@Override public Map<Long, UserTradeBaseVo> getUserInfoByCustIds(List<Long> custIdList) { return cacheService.getUserInfoByCustIds(custIdList); }
public Catetory getCatetoryFromCache(String code) { return cacheService.getCatetoryFromCache(code); }
@Override public ResultTwoTuple<Integer, List<WorshipRecord>> getWorshipRecord( final int start, final int end, Long custId, String type) { return cacheService.getWorshipRecord(start, end, custId, type); }
@Override public List<ActivityCacheVo> batchGetActivityFromCache(List<Integer> activityIdList) { return cacheService.batchGetActivityFromCache(activityIdList); }
@Override public void deleteActivityCache(Integer activityId) { cacheService.deleteActivityCache(activityId); }
@Override public ActivityCacheVo getActivityFromCache(Integer activityId) { return cacheService.getActivityFromCache(activityId); }
@Override public void refreshActivityCache(Integer activityId) { cacheService.refreshActivityCache(activityId); }
@Override public List<CatetoryMediaSaleVo> getMediaSaleByCatetoryCode( boolean withData, int start, int end, String catetoryCode) throws Exception { return cacheService.getMediaSaleByCatetoryCode(withData, start, end, catetoryCode); }
@Override public AnnouncementsCategory getAnnouncementsCategoryFromCache(String categoryCode) { return cacheService.getAnnouncementsCategoryFromCache(categoryCode); }
@Override public List<AnnouncementsContent> getAnnouncementsContentFromCache(String categoryCode) { // TODO Auto-generated method stub return cacheService.getAnnouncementsContentFromCache(categoryCode); }
@Override public void cleanCacheByKey(String cacheKey) { cacheService.cleanCacheByKey(cacheKey); }
@Override public Map<String, String> getUserInfoByCustId(Long custId) { return cacheService.getUserInfoByCustId(custId); }
@Override public void batchDeleteActivityCache(List<Integer> activityIdList) { cacheService.batchDeleteActivityCache(activityIdList); }
@Override public List<SpecialTopic> getSpecialTopicFromCache( String stId, String deviceType, String channelType) { return cacheService.getSpecialTopicFromCache(stId, deviceType, channelType); }
@Override public List<ActivitySaleCacheVo> getActivitySaleCacheByActivityId(Integer activityId) { return cacheService.getActivitySaleCacheByActivityId(activityId); }
@Override public void cleanSpecialTopicCache(Set<String> cacheKeys) { cacheService.cleanSpecialTopicCache(cacheKeys); }
public List<Notice> getNoticeList(long lastRequestTime) { return cacheService.getNoticeList(lastRequestTime); }
@Override public UserTradeBaseVo getUserWholeInfoByCustId(Long custId) { return cacheService.getUserWholeInfoByCustId(custId); }
@Override public List<ActivitySaleCacheVo> getActivitySaleCacheWithActivityBySaleId(Long saleId) { return cacheService.getActivitySaleCacheWithActivityBySaleId(saleId); }
@Override @LoggerProfile(methodNote = "设置media缓存", recordTime = true) public void setMediaCache(Media media) throws Exception { cacheService.setMediaCache(media); }
@Override public void deleteActivitySaleCacheBySaleId(Long saleId) { cacheService.deleteActivitySaleCacheBySaleId(saleId); }
@Override @LoggerProfile(methodNote = "设置章节缓存", recordTime = true) public void setChapterCache(Chapter chapter) throws Exception { cacheService.setChapterCache(chapter); }
@Override public void mDeleteActivitySaleCacheBySaleId(List<Long> saleIdList) { cacheService.mDeleteActivitySaleCacheBySaleId(saleIdList); }
@Override public MediaSaleCacheVo getMediaSaleFromCache(Long saleId) throws Exception { return cacheService.getMediaSaleFromCache(saleId); }
@Override public void cleanActivityCache() { cacheService.cleanActivityCache(); }