package cn.com.ctop.toutiao.service;

import cn.com.ctop.toutiao.entity.BytedanceDeliveryTargetTemplate;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @Description: 投放目标模板信息
 * @Author: jeecg-boot
 * @Date: 2019-07-23
 * @Version: V1.0
 */
public interface IBytedanceDeliveryTargetTemplateService extends IService<BytedanceDeliveryTargetTemplate> {

    Map<String, Object> insertTemplate(BytedanceDeliveryTargetTemplate template);

    Result<IPage<BytedanceDeliveryTargetTemplate>> getList(BytedanceDeliveryTargetTemplate template, Integer pageNo, Integer pageSize, HttpServletRequest req);

    Map<String, Object> get(Long targetId);
}
