admin
2018-12-25 4cb15e222cd7d099d533ccbeb7f9a8cd99bf180c
fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SwiperPictureServiceImpl.java
@@ -8,6 +8,7 @@
import javax.annotation.Resource;
import javax.transaction.Transactional;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
@@ -126,6 +127,7 @@
   }
   
   @Override
   @Cacheable(value = "bannerCache", key = "'getByBannerCard-'+#card")
   public List<SwiperPicture> getByBannerCard(String card) throws SwiperPictureException {
      return swiperPictureMapper.getByBannerCard(card);
   }