package com.hzs.member.account;

import com.hzs.common.core.domain.R;
import com.hzs.member.account.dto.BusinessCommissionDTO;
import com.hzs.member.account.dto.MemberBalanceDTO;

import java.util.List;

/**
 * 业务办理扣费
 */
public interface IBusinessCommission {

    /**
     * 业务办理扣费提交
     *
     * @param businessCommissionDTO 业务办理入参
     * @return Integer
     */
    R businessCommissionSubmit(BusinessCommissionDTO businessCommissionDTO);

    /**
     * 业务办理扣费驳回
     *
     * @param businessCommissionDTO 业务办理入参
     * @return Integer
     */
    R businessCommissionReject(BusinessCommissionDTO businessCommissionDTO);

    /**
     * 查询余额不足的用户信息
     *
     * @param businessCommissionDTO 业务参数
     * @return List<MemberBalanceDTO>
     */
    R<List<MemberBalanceDTO>> selectBalanceNotEnoughMember(BusinessCommissionDTO businessCommissionDTO);
}
