package com.hzs.system.config;

import com.hzs.common.core.domain.R;
import com.hzs.common.domain.system.config.BdAgreementRenewalWhite;

import java.util.List;

/**
 * @Description: 自动续约服务API
 * @Author: jiang chao
 * @Time: 2024/6/17 15:05
 * @Classname: IAgreementRenewalWhiteApi
 * @PackageName: com.hzs.system.sys
 */
public interface IAgreementRenewalWhiteServiceApi {

    /**
     * 批量保存续约白名单
     *
     * @param whiteList
     * @return
     */
    R<?> saveBatch(List<BdAgreementRenewalWhite> whiteList);

    /**
     * 查询会员续约配置
     *
     * @param pkMember 会员ID
     * @param type     类型
     * @return
     */
    R<BdAgreementRenewalWhite> getInfo(Long pkMember, Integer type);

}
