|
|
@@ -12,6 +12,7 @@ import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.cache.annotation.CacheEvict;
|
|
|
+import org.springframework.cache.annotation.Cacheable;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import com.goafanti.common.constant.AFTConstants;
|
|
|
@@ -121,7 +122,7 @@ public class LectureServiceImpl extends BaseMybatisDao<LectureMapper> implements
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- //@Cacheable(value = "LectureDynamicListCache", key = "'LectureDynamicList:'+#lectureDynamicListCacheKey")
|
|
|
+ @Cacheable(value = "LectureDynamicListCache", key = "'LectureDynamicList:'+#lectureDynamicListCacheKey")
|
|
|
public List<LectureListBo> listDynamic(Integer lectureDynamicListCacheKey) {
|
|
|
return lectureMapper.listDynamic();
|
|
|
}
|
|
|
@@ -133,7 +134,7 @@ public class LectureServiceImpl extends BaseMybatisDao<LectureMapper> implements
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- //@Cacheable(value = "BigShotLectureListCache", key = "'BigShotLectureList:'+#bigShotLectureCacheKey")
|
|
|
+ @Cacheable(value = "BigShotLectureListCache", key = "'BigShotLectureList:'+#bigShotLectureCacheKey")
|
|
|
public List<BigShotLectureListBo> listBigShotLecture(Integer bigShotLectureCacheKey) {
|
|
|
return lectureMapper.listBigShotLecture();
|
|
|
}
|
|
|
@@ -145,7 +146,7 @@ public class LectureServiceImpl extends BaseMybatisDao<LectureMapper> implements
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- //@Cacheable(value = "LectureListCache", key = "'LectureList:'+#lectureListCacheKey")
|
|
|
+ @Cacheable(value = "LectureListCache", key = "'LectureList:'+#lectureListCacheKey")
|
|
|
public List<LectureListBo> findLectureList(Integer lectureListCacheKey) {
|
|
|
return lectureMapper.findLectureList();
|
|
|
}
|