package com.dcsoft.system.consume.mapper;

import com.dcsoft.system.consume.domain.ConsumeRechargeRecord;

import java.util.List;

/**
 * 充值记录Mapper接口
 *
 * @author dcsoft
 * @date 2023-09-12
 */
public interface ConsumeRechargeRecordMapper
{
    /**
     * 查询充值记录
     *
     * @param id 充值记录主键
     * @return 充值记录
     */
    public ConsumeRechargeRecord selectConsumeRechargeRecordById(Long id);

    /**
     * 查询充值记录列表
     *
     * @param consumeRechargeRecord 充值记录
     * @return 充值记录集合
     */
    public List<ConsumeRechargeRecord> selectConsumeRechargeRecordList(ConsumeRechargeRecord consumeRechargeRecord);

    /**
     * 新增充值记录
     *
     * @param consumeRechargeRecord 充值记录
     * @return 结果
     */
    public int insertConsumeRechargeRecord(ConsumeRechargeRecord consumeRechargeRecord);

    /**
     * 修改充值记录
     *
     * @param consumeRechargeRecord 充值记录
     * @return 结果
     */
    public int updateConsumeRechargeRecord(ConsumeRechargeRecord consumeRechargeRecord);

    /**
     * 删除充值记录
     *
     * @param id 充值记录主键
     * @return 结果
     */
    public int deleteConsumeRechargeRecordById(Long id);

    /**
     * 批量删除充值记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteConsumeRechargeRecordByIds(Long[] ids);
}
