package com.hzs.member.achieve.provider;

import com.hzs.common.core.domain.R;
import com.hzs.common.domain.member.achieve.CuMemberSettlePeriod;
import com.hzs.member.achieve.ICuMemberSettlePeriodServiceApi;
import com.hzs.member.achieve.service.ICuMemberSettlePeriodService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 会员结算期间
 */
@DubboService
public class CuMemberSettlePeriodServiceProvider implements ICuMemberSettlePeriodServiceApi {

    @Autowired
    private ICuMemberSettlePeriodService iCuMemberSettlePeriodService;

    @Override
    public R<CuMemberSettlePeriod> getCuMemberSettlePeriodByDate(String date) {
        return R.ok(iCuMemberSettlePeriodService.getCuMemberSettlePeriodByDate(date));
    }

}
