package com.yijia.customer.service;

import java.util.List;

import com.yijia.customer.domain.CustomerCardSetting;
import com.yijia.customer.domain.CustomerCardSettingDetail;

/**
 * 客户电子会员卡充值优惠设置明细Service接口
 *
 * @author yijia
 * @date 2021-04-06
 */
public interface ICustomerCardSettingDetailService
{
    /**
     * 查询客户电子会员卡充值优惠设置明细
     *
     * @param id 客户电子会员卡充值优惠设置明细ID
     * @return 客户电子会员卡充值优惠设置明细
     */
    public CustomerCardSettingDetail selectCustomerCardSettingDetailById(Long id);

    /**
     * 查询客户电子会员卡充值优惠设置明细列表
     *
     * @param customerCardSettingDetail 客户电子会员卡充值优惠设置明细
     * @return 客户电子会员卡充值优惠设置明细集合
     */
    public List<CustomerCardSettingDetail> selectCustomerCardSettingDetailList(CustomerCardSettingDetail customerCardSettingDetail);

    /**
     * 新增客户电子会员卡充值优惠设置明细
     *
     * @param customerCardSettingDetail 客户电子会员卡充值优惠设置明细
     * @return 结果
     */
    public int insertCustomerCardSettingDetail(CustomerCardSettingDetail customerCardSettingDetail);

    /**
     * 修改客户电子会员卡充值优惠设置明细
     *
     * @param customerCardSettingDetail 客户电子会员卡充值优惠设置明细
     * @return 结果
     */
    public int updateCustomerCardSettingDetail(CustomerCardSettingDetail customerCardSettingDetail);

    /**
     * 批量删除客户电子会员卡充值优惠设置明细
     *
     * @param ids 需要删除的客户电子会员卡充值优惠设置明细ID
     * @return 结果
     */
    public int deleteCustomerCardSettingDetailByIds(Long[] ids);

    /**
     * 删除客户电子会员卡充值优惠设置明细信息
     *
     * @param id 客户电子会员卡充值优惠设置明细ID
     * @return 结果
     */
    public int deleteCustomerCardSettingDetailById(Long id);

    /**
     * 电子会员卡积分规则明细
     * @param customerCardSetting
     * @return
     */
    public List<CustomerCardSettingDetail> listDetailInfo(CustomerCardSetting customerCardSetting);
}
