package cn.com.ctop.kuaishou.modules.batch.service;

import cn.com.ctop.kuaishou.modules.batch.entity.KuaiShouCreative;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 快手-创意信息
 * @Author: jeecg-boot
 * @Date: 2019-07-23
 * @Version: V1.0
 */
public interface IKuaiShouCreativeService extends IService<KuaiShouCreative> {

    void replaceBatch(List<KuaiShouCreative> creatives);

    /**
     * 获取MD5
     *
     * @param creativeId
     * @return
     */
    String getCodeByCreativeId(Long creativeId);

    /**
     * 创意条数
     *
     * @param accountId
     * @param unitId
     * @return
     */
    Integer checkCreativeCount(Long accountId, Long unitId);
}
