package com.hfkj.service;

import com.hfkj.entity.BsBankActivityRoster;
import com.hfkj.entity.BsBankActivityRosterRate;

import java.util.List;
import java.util.Map;

/**
 * @className: BsBankActivityRosterService
 * @author: HuRui
 * @date: 2023/5/18
 **/
public interface BsBankActivityRosterService {

    /**
     * 编辑数据
     * @param bankActivityRoster
     */
    void editData(BsBankActivityRoster bankActivityRoster);

    /**
     * 报名活动
     * @param bankActivityId
     * @param merId
     */
    void enrollActivity(Long bankActivityId, Long merId, String branchBankNo) throws Exception;

    /**
     * 配置费率
     * @param bankActivityRosterRateList
     */
    void configRosterRate(Long bankActivityId, Long merId, List<BsBankActivityRosterRate> bankActivityRosterRateList) throws Exception;

    /**
     * 查询报名列表
     * @param param
     * @return
     */
    List<BsBankActivityRoster> getActivityRosterList(Map<String, Object> param);

    /**
     * 查询报名
     * @param bankActivityId
     * @param merId
     * @return
     */
    BsBankActivityRoster getActivityRoster(Long bankActivityId, Long merId);

}
