package com.sptg.ad.biz.service;

import com.baomidou.mybatisplus.service.IService;
import com.sptg.ad.api.entity.AdPushContent;
import com.sptg.ad.api.entity.AdPushContentImg;
import com.sptg.common.core.beans.ResultBean;

import java.util.List;

/**
 * title: AdContentImgServiceInterface
 * package: com.sptg.ad.biz.security
 * description: 广告发布图片-接口类
 *
 *               
 *                 
 */
public interface AdPushContentServiceInterface extends IService<AdPushContent> {

    /**
     * 功能描述:添加
     * @param adPushContent
     * @return
     *               
     *                       
     */
    ResultBean<Boolean> addAdPushContent(AdPushContent adPushContent);
    /**
     * 功能描述:获取发布的内容
     * @param taskId
     * @return
     *               
     *                       
     */
    List<AdPushContent> getAdPushContents(Long taskId);

    /**
     * 功能描述:获取任务id
     * @param adPushContent
     * @return
     *               
     *                       
     */
    List<Long> getTaskIds(AdPushContent adPushContent);
    /**
     * 功能描述:更新记录机构位置
     * @param oldPosition 旧机构位置
     * @param newPosition 新机构位置
     *               
     *                      
     */
    void updateOrgPosition(String oldPosition, String newPosition);
}
