package com.linkwechat.wecom.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;
import com.linkwechat.wecom.domain.WeFlowerCustomerRel;

/**
 * 具有外部联系人功能企业员工也客户的关系Service接口
 * 
 * @author ruoyi
 * @date 2020-09-19
 */
public interface IWeFlowerCustomerRelService extends IService<WeFlowerCustomerRel>
{

    /**
     * 批量新增
     * @param customerRelList
     */
    public void insertBatch(List<WeFlowerCustomerRel> customerRelList);

    /**
     * 删除服务跟进人
     * @param userId 企业成员id
     * @param externalUserid 用户id
     */
    public Boolean deleteFollowUser(String userId, String externalUserid);

    /**
     * 成员添加客户统计
     * @param weFlowerCustomerRel
     * @return Map
     */
    public Map<String,Object> getUserAddCustomerStat(WeFlowerCustomerRel weFlowerCustomerRel);

}
