package com.pavis.admin.aigc.service.impl;

import lombok.RequiredArgsConstructor;

import org.springframework.stereotype.Service;

import top.continew.starter.extension.crud.service.BaseServiceImpl;
import com.pavis.admin.aigc.mapper.AgentToolMapper;
import com.pavis.admin.aigc.model.entity.AgentToolDO;
import com.pavis.admin.aigc.model.query.AgentToolQuery;
import com.pavis.admin.aigc.model.req.AgentToolReq;
import com.pavis.admin.aigc.model.resp.AgentToolDetailResp;
import com.pavis.admin.aigc.model.resp.AgentToolResp;
import com.pavis.admin.aigc.service.AgentToolService;

import java.util.List;

/**
 * 智能体和工具关联业务实现
 *
 * @author semi
 * @since 2025/05/26 17:28
 */
@Service
@RequiredArgsConstructor
public class AgentToolServiceImpl extends BaseServiceImpl<AgentToolMapper, AgentToolDO, AgentToolResp, AgentToolDetailResp, AgentToolQuery, AgentToolReq> implements AgentToolService {
    @Override
    public List<Long> getToolIdListByAgentId(Long agentId) {
        return baseMapper.selectToolIdListByAgentId(agentId);
    }
}