package com.storlead.sales.mapper;

import com.storlead.framework.mybatis.mapper.MyBaseMapper;
import com.storlead.sales.pojo.dto.report.CustomerStatusAnalysisDTO;
import com.storlead.sales.pojo.vo.report.CustomerStatusTotalVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerAttributeAnalysisMapper extends MyBaseMapper {


    List<CustomerStatusTotalVO> getListByStatus(@Param("csa") CustomerStatusAnalysisDTO customerStatusAnalysisDTO);

    List<CustomerStatusTotalVO> getListBySource(@Param("csa") CustomerStatusAnalysisDTO customerStatusAnalysisDTO);

    List<CustomerStatusTotalVO> getListByLevel(@Param("csa") CustomerStatusAnalysisDTO customerStatusAnalysisDTO);

    List<CustomerStatusTotalVO> getListByCountry(@Param("csa") CustomerStatusAnalysisDTO customerStatusAnalysisDTO);
}
