package com.yeshi.buwan.service.inter.ad;
|
|
import com.yeshi.buwan.domain.ad.AdAreaConfig;
|
import org.springframework.cache.annotation.Cacheable;
|
|
import java.util.List;
|
|
/**
|
* @author hxh
|
* @title: AdAreaConfigService
|
* @description: 广告区域配置
|
* @date 2024/10/24 11:12
|
*/
|
public interface AdAreaConfigService {
|
|
|
/**
|
* @author hxh
|
* @description 添加配置
|
* @date 13:15 2024/10/24
|
* @param: config
|
* @return void
|
**/
|
public void addConfig(AdAreaConfig config);
|
|
|
/**
|
* @author hxh
|
* @description 更新配置
|
* @date 13:15 2024/10/24
|
* @param: config
|
* @return void
|
**/
|
public void updateConfig(AdAreaConfig config);
|
|
/**
|
* @author hxh
|
* @description 根据渠道与系统ID查询
|
* @date 13:15 2024/10/24
|
* @param: channel
|
* @param: detailSystemId
|
* @return java.util.List<com.yeshi.buwan.domain.ad.AdAreaConfig>
|
**/
|
public List<AdAreaConfig> list(String channel,Long detailSystemId);
|
|
public List<AdAreaConfig> listCache(String channel,Long detailSystemId);
|
|
|
public List<AdAreaConfig> list(Long detailSystemId, int page, int pageSize);
|
|
public long count(Long detailSystemId);
|
|
public void delete(Long id);
|
|
public AdAreaConfig get(Long id);
|
|
}
|