package com.dsk.system.service;

import com.dsk.system.domain.customer.Customer;
import com.dsk.system.domain.customer.dto.CustomerBusinessSearchDto;
import com.dsk.system.domain.customer.dto.CustomerSearchDto;
import com.dsk.system.domain.customer.vo.*;

import java.util.List;

/**
 * 客户信息表(Customer)表服务接口
 *
 * @author makejava
 * @since 2023-05-16 09:28:00
 */
public interface ICustomerService {

    List<CustomerListVo> selectList(CustomerSearchDto dto);

    CustomerVo info(String customerId);

    boolean add(Customer customer);

    boolean edit(Customer customer);

    List<Customer> selectUserList();

    List<CustomerBusinessListVo> selectBusinessList(CustomerBusinessSearchDto dto);

    List<CustomerStatusListVo> selectStatusList(List<String> uipIds);

    List<CustomerStatusListVo> selectStatusListByCompanyName(List<String> companyNames);

//    List<String> selectUipIdList(List<String> uipIds);

    Integer status(String companyName);

    boolean cancelClaim(String companyName);

    boolean historyClaim(String companyName);

    Customer selectByCompanyNameAndUserId(String companyName);

}
