| | |
| | |
|
| | |
|
| | | @Override
|
| | | public List<SwiperPicture> getOrderByBannerID(Long bannerId, Integer type, Integer order) throws SwiperPictureException {
|
| | | public List<SwiperPicture> getOrderByBannerID(Long bannerId, Integer type, Integer order) {
|
| | | return swiperPictureMapper.getOrderByBannerID(bannerId, type, order);
|
| | | }
|
| | |
|
| | |
| | |
|
| | | @Override
|
| | | @Cacheable(value = "bannerCache", key = "'getByBannerCard-'+#card")
|
| | | public List<SwiperPicture> getByBannerCard(String card) throws SwiperPictureException {
|
| | | public List<SwiperPicture> getByBannerCard(String card) {
|
| | | List<SwiperPicture> list = swiperPictureMapper.getByBannerCard(card);
|
| | | if (list != null && list.size() > 0) {
|
| | | for (SwiperPicture swiperPicture: list) {
|
| | |
| | |
|
| | | @Override
|
| | | @Cacheable(value = "bannerCache", key = "'getByBannerId-'+#bannerId")
|
| | | public List<SwiperPicture> getByBannerId(Long bannerId) throws SwiperPictureException {
|
| | | public List<SwiperPicture> getByBannerId(Long bannerId) {
|
| | | return swiperPictureMapper.getByBannerId(bannerId);
|
| | | }
|
| | |
|