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 org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@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));
    }

}
