package com.storlead.sales.service.customer;

import com.storlead.framework.mybatis.service.MyBaseService;
import com.storlead.sales.pojo.entity.customer.CustomerCompanyEntity;

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

/**
 * <p>
 * 客户企业信息表 服务类
 * </p>
 *
 * @author YPZ
 * @since 2024-04-12
 */
public interface CustomerCompanyService extends MyBaseService<CustomerCompanyEntity> {

    /**
     * 根据客户id获取客户企业信息
     * @param id
     * @return
     */
    CustomerCompanyEntity getByCustomerId(Long id);

    Map<Long, CustomerCompanyEntity> customerIdListToCompanyMap(List<Long> customerIdList);
}
