package com.yd.csf.service.service.impl;

import com.yd.csf.feign.dto.agentmanagerelation.ApiAgentManageUserDTO;
import com.yd.csf.service.model.AgentManageRelation;
import com.yd.csf.service.dao.AgentManageRelationMapper;
import com.yd.csf.service.service.IAgentManageRelationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 管理关系表（（团队的形成来自这张表，谁在最高级就是团长）） 服务实现类
 * </p>
 *
 * @author zxm
 * @since 2025-10-21
 */
@Service
public class AgentManageRelationServiceImpl extends ServiceImpl<AgentManageRelationMapper, AgentManageRelation> implements IAgentManageRelationService {

    @Override
    public List<ApiAgentManageUserDTO> queryApiAgentManageUserList(String name) {
        return this.baseMapper.queryApiAgentManageUserList(name);
    }
}
