| | |
| | | wrapper.lambda().eq(Carousel::getIsdeleted,Constants.ZERO) |
| | | .eq(Carousel::getStatus,Constants.ZERO) |
| | | .orderByDesc(Carousel::getSortnum); |
| | | return carouselMapper.selectList(wrapper); |
| | | List<Carousel> carouselList = |
| | | carouselMapper.selectList(wrapper); |
| | | if(com.github.xiaoymin.knife4j.core.util.CollectionUtils.isNotEmpty(carouselList)){ |
| | | String fileDir = systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FILE_DIR).getCode(); |
| | | for (Carousel carousel:carouselList) { |
| | | this.imgFullPath(fileDir,carousel); |
| | | } |
| | | } |
| | | return carouselList; |
| | | } |
| | | |
| | | @Override |