package com.hzs.member.achieve.provider;

import com.hzs.common.core.domain.R;
import com.hzs.common.domain.member.base.CuMember;
import com.hzs.member.achieve.IMemberAchieveServiceApi;
import com.hzs.member.base.service.ICuMemberBusinessService;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description:
 * @Author: sui q
 * @Time: 2022/10/26 15:14
 * @Classname: MemberAchieveServiceProvider
 * @PackageName: com.hzs.member.achieve.provider
 */
@Slf4j
@DubboService
public class MemberAchieveServiceProvider implements IMemberAchieveServiceApi {

    @Autowired
    private ICuMemberBusinessService cuMemberBusinessService;

    @Override
    public R<CuMember> queryCuMemberAchieveByPkMember(CuMember cuMember, Boolean isFirst, Boolean isFirstAchieve) {
        return R.ok(cuMemberBusinessService.queryCuMemberPlaceDept(cuMember, isFirst, isFirstAchieve));
    }

}
