admin
2020-07-03 651a15c78f668bef3859d9ed1bb7ad0b669d3600
fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SwiperBannerServiceImpl.java
@@ -5,6 +5,7 @@
import javax.annotation.Resource;
import com.yeshi.fanli.entity.SystemEnum;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.yeshi.utils.tencentcloud.COSManager;
@@ -58,13 +59,13 @@
   }
   @Override
   public List<SwiperBanner> query(long start, int count, String key, Integer sort){
      return swiperBannerMapper.query(start, count, key, sort);
    public List<SwiperBanner> query(long start, int count, String key, Integer sort, SystemEnum system) {
        return swiperBannerMapper.query(start, count, key, sort, system);
   }
   @Override
   public long countQuery(String key) {
      return swiperBannerMapper.countQuery(key);
    public long countQuery(String key, SystemEnum system) {
        return swiperBannerMapper.countQuery(key, system);
   }
   @Override
@@ -113,8 +114,8 @@
   }
   
   @Override
   public List<SwiperBanner> getEffectiveOption() {
      return swiperBannerMapper.getEffectiveOption();
    public List<SwiperBanner> getEffectiveOption(SystemEnum system) {
        return swiperBannerMapper.getEffectiveOption(system);
   }
}