package com.hzs.bonus.risk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.bonus.risk.param.MemberRiskControlParam;
import com.hzs.bonus.risk.param.MemberRiskParam;
import com.hzs.bonus.risk.vo.MemberRiskControlVo;
import com.hzs.common.domain.bonus.risk.CuMemberRiskControl;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 会员奖金-K值风控设置 服务类
 * </p>
 *
 * @author zhangjing
 * @since 2024-04-08
 */
public interface ICuMemberRiskControlService extends IService<CuMemberRiskControl> {


    /*
     * @description: 查询时间范围内生效的k值
     * @author: sui q
     * @date: 2024/4/8 15:59
     * @param: null null
     **/
    List<CuMemberRiskControl> queryCuMemberRiskControl(Date settleDate);


    /**
     * 列表查询
     * @param memberRiskControlParam
     * @return
     */
    List<MemberRiskControlVo> queryByList(MemberRiskControlParam memberRiskControlParam);


    /**
     * 添加审批
     * @param memberRiskParam
     */
    Boolean onLinePetition(MemberRiskParam memberRiskParam);
}
