package com.yuchen.saas.manage.system.api.feign;


import com.yuchen.saas.manage.system.api.entity.NestOrgUser;
import com.yuchen.saas.manage.system.api.request.OrgUserInfoRequest;
import com.yuchen.saas.manage.system.api.response.OrgUserInfoResponse;
import com.yuchen.saas.manage.system.api.vo.OrgUserListVO;
import org.nest.springwrap.core.tool.api.R;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public class IOrgUserClientFallback implements IOrgUserClient {

    @Override
    public R<List<OrgUserInfoResponse>> findPatrolUser(OrgUserInfoRequest userInfoRequest) {
        return R.error("远程调用失败");
    }

    @Override
    public R<NestOrgUser> detail(Long id) {
        return R.error("远程调用失败");
    }

    @Override
    public R<List<NestOrgUser>> findOrgUserList(Long orgId) {
        return R.error("远程调用失败");
    }

    @Override
    public R<List<NestOrgUser>> findOrgUserListByIds(List<Long> ids) {
        return R.error("远程调用失败");
    }

    @Override
    public R<List<OrgUserListVO>> findOrgUserListByDeptId(Long depId) {
        return R.error("远程调用失败");
    }

    @Override
    public R<List<NestOrgUser>> listByIds(List<Long> ids) {
        return R.error("远程调用失败");
    }

    @Override
    public R<List<OrgUserListVO>> listByIds(Long depId) {
        return R.error("远程调用失败");
    }
}
