package cn.pluss.platform.openAccount;

import cn.pluss.platform.entity.MerchantBaseInfo;
import cn.pluss.platform.entity.OpenAccountConfig;
import cn.pluss.platform.entity.UserApp;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * <p>
 * 开户奖配置表 服务类
 * </p>
 *
 * @author crystal
 * @since 2022-06-14
 */
public interface OpenAccountConfigService extends IService<OpenAccountConfig> {
    /**
     * 获取开户奖励配置
     * @param merchant
     * @param userApp
     * @return
     */
    BigDecimal getOpendAccountReward(MerchantBaseInfo merchant, UserApp userApp);
}
