package com.yijia.customer.service;

import java.util.List;
import com.yijia.customer.domain.CustomerCardRecordConsumption;

/**
 * 客户电子会员卡消费记录Service接口
 * 
 * @author yijia
 * @date 2021-04-13
 */
public interface ICustomerCardRecordConsumptionService 
{
    /**
     * 查询客户电子会员卡消费记录
     * 
     * @param id 客户电子会员卡消费记录ID
     * @return 客户电子会员卡消费记录
     */
    public CustomerCardRecordConsumption selectCustomerCardRecordConsumptionById(Long id);

    /**
     * 查询客户电子会员卡消费记录列表
     * 
     * @param customerCardRecordConsumption 客户电子会员卡消费记录
     * @return 客户电子会员卡消费记录集合
     */
    public List<CustomerCardRecordConsumption> selectCustomerCardRecordConsumptionList(CustomerCardRecordConsumption customerCardRecordConsumption);

    /**
     * 新增客户电子会员卡消费记录
     * 
     * @param customerCardRecordConsumption 客户电子会员卡消费记录
     * @return 结果
     */
    public int insertCustomerCardRecordConsumption(CustomerCardRecordConsumption customerCardRecordConsumption);

    /**
     * 修改客户电子会员卡消费记录
     * 
     * @param customerCardRecordConsumption 客户电子会员卡消费记录
     * @return 结果
     */
    public int updateCustomerCardRecordConsumption(CustomerCardRecordConsumption customerCardRecordConsumption);

    /**
     * 批量删除客户电子会员卡消费记录
     * 
     * @param ids 需要删除的客户电子会员卡消费记录ID
     * @return 结果
     */
    public int deleteCustomerCardRecordConsumptionByIds(Long[] ids);

    /**
     * 删除客户电子会员卡消费记录信息
     * 
     * @param id 客户电子会员卡消费记录ID
     * @return 结果
     */
    public int deleteCustomerCardRecordConsumptionById(Long id);

    /**
     * 获取客户电子会员卡消费汇总金额
     */
    public CustomerCardRecordConsumption xfAmtQuery(CustomerCardRecordConsumption customerCardRecordConsumption);

    /**
     * 获取客户电子会员卡消费汇总折线图x 轴数据
     */
    public  List<CustomerCardRecordConsumption> listXdata(CustomerCardRecordConsumption customerCardRecordConsumption);
    /**
     * 获取客户电子会员卡消费汇总折线图充值数据
     */
    public  List<CustomerCardRecordConsumption> listQydataXF(CustomerCardRecordConsumption customerCardRecordConsumption);

    public CustomerCardRecordConsumption listXFData(CustomerCardRecordConsumption customerCardRecordConsumption);
}
