package com.hzs.system.config.provider;

import com.hzs.common.core.domain.R;
import com.hzs.system.config.ICuMemberAgreementWhiteApi;
import com.hzs.system.config.service.IBdAgreementRenewalWhiteService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 会员续约白名单
 *
 * @Description:
 * @Author: ljc
 * @Time: 2024/6/7 16:27
 * @Classname: CuMemberAgreementWhiteProvider
 * @Package_name: com.hzs.system.config.provider
 */
@DubboService
public class CuMemberAgreementWhiteProvider implements ICuMemberAgreementWhiteApi {

    @Autowired
    private IBdAgreementRenewalWhiteService agreementRenewalWhiteService;

    @Override
    public R<Integer> selectAgreementWhiteByPkMember(Long pkMember) {
        return R.ok(agreementRenewalWhiteService.selectAgreementWhiteByPkMember(pkMember));
    }
}
