package cn.superdesk.uniorder.service.operationCenter;

import cn.superdesk.uniorder.dao.entity.operationCenter.UnifiedCenterCustomer;
import cn.superdesk.uniorder.dto.param.operationCenter.customer.OperationCenterCustomerParam;
import cn.superdesk.uniorder.dto.vo.operationCenter.base.OperationCenterVo;
import cn.superdesk.uniorder.dto.vo.operationCenter.customer.OpCenterCustomerOperatorOrgVo;
import cn.superdesk.uniorder.dto.vo.operationCenter.customer.OperationCenterCustomerVo;
import cn.superdesk.uniorder.dto.vo.operationCenter.customer.OperationCenterPaymentCustomerVo;
import cn.superdesk.uniorder.service.base.BaseService;

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

/**
 * @Author : zx
 * @Create : 2023/4/11 09:36
 * Description :
 */
public interface OperationCenterCustomerService extends BaseService<UnifiedCenterCustomer> {
    List<OperationCenterCustomerVo> getOperationCenterCustomerList(OperationCenterCustomerParam param);

    UnifiedCenterCustomer selectCustomerByCustomerName(String customerName, Long id);

    List<OperationCenterVo> selectAllCustomerIdAndName();

    List<OperationCenterPaymentCustomerVo> findAllCustomer(OperationCenterCustomerParam param);

    /**
     * 通过条件查询 客户-运营商-项目---关联关系
     * @param conditions
     * @return
     */
    List<OpCenterCustomerOperatorOrgVo> getLinkOperatorAndOrg(Map<String, Object> conditions);
}
