package com.storlead.sales.service;

import com.storlead.sales.pojo.entity.mail.CustomerMailBingMarkEntity;
import com.storlead.framework.mybatis.service.MyBaseService;

import java.util.List;

/**
 * <p>
 * 客户联系人关联邮件绑定标记 服务类
 * </p>
 *
 * @author chenkq
 * @since 2024-08-30
 */
public interface CustomerMailBingMarkService extends MyBaseService<CustomerMailBingMarkEntity> {

//    void mateBindCustomerLiaisonFromMail(Long mailId,Long ownerBy,String mailAddress);

    void mateBindCustomerLiaisonMail(Long mailId,Long ownerBy,String mailAddress,Integer inOutMark);




//    void updateCustomerMailBingMark(Long customerId,String customerMail,Long liaisonId,String liaisonMail);

    void updateCustomerMailBingMark(Long customerId,List<String> cmails,Long liaisonId,List<String> lmails);

    void updateCustomerLiaisonMailBingMark(Long customerId,Long liaisonId,List<String> mails);

    List<Long> selectCustomerIdsByMailId(Long mailId);
}
