package com.jeesharp.business.modules.setting.service;

import com.jeesharp.business.modules.setting.entity.AppSplashAd;
import com.jeesharp.business.modules.setting.vo.AppSplashAdQueryVO;
import com.jeesharp.framework.mybatis.core.service.BaseInterface;

import java.util.List;

/**
 * 开屏广告领域服务接口。
 *
 * @author jeesharp
 * @since 2026-04-21
 */
public interface AppSplashAdService extends BaseInterface<AppSplashAd, AppSplashAdQueryVO> {

    /**
     * 用户端：当前时间有效、已启用、按序排列的开屏条。
     *
     * @param platform 端标识
     * @return 列表
     */
    List<AppSplashAd> listActiveForClient(String platform);

    void createSplashAd(AppSplashAd entity);

    void updateSplashAd(AppSplashAd entity);
}
