package com.hzs.bonus.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.account.CuMemberAccount;

/**
 * 会员账户信息 服务类
 */
public interface ICuMemberAccountService extends IService<CuMemberAccount> {

    /**
     * 奖金发放，根据期间发放奖金，更新奖金余额
     *
     * @param startPeriod 期间
     */
    void updateMemberAccountGrantByPeriod(Integer pkCountry, Integer startPeriod, Integer endPeriod);

    /**
     * 奖金可提现，根据期间更新可提现金额，减少可消费金额
     *
     * @param startPeriod 期间
     */
    void updateMemberAccountWithdrawalByPeriod(Integer startPeriod, Integer endPeriod, Integer pkCountry);

}
