package com.crm.manager.service;

import com.crm.rely.backend.core.dto.market.extension.link.MarketExtensionLinkDto;
import com.crm.rely.backend.core.entity.market.extension.link.MarketExtensionLinkSaveEntity;
import com.crm.rely.backend.core.pojo.table.MarketExtensionLinkTable;
import com.crm.rely.backend.core.pojo.table.MarketExtensionTable;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;

public interface MarketExtensionLinkService {

    List<MarketExtensionLinkDto> getByExtensionId(Long ExtensionId) throws ServiceException;

    void save(List<MarketExtensionLinkSaveEntity> entities, MarketExtensionTable table ) throws ServiceException;

    void delete(List<Long> ExtensionIds) throws ServiceException;

    List<MarketExtensionLinkTable> getByExtensionIdIn(List<Long> ExtensionIds) throws ServiceException;
}
