package com.pavis.admin.aigc.mapper;

import com.pavis.admin.aigc.model.resp.KnowledgeResp;
import org.apache.ibatis.annotations.Select;
import top.continew.starter.data.mp.base.BaseMapper;
import com.pavis.admin.aigc.model.entity.KnowledgeDO;

import java.util.List;

/**
 * AIGC知识库 Mapper
 *
 * @author semi
 * @since 2025/05/26 17:28
 */
public interface KnowledgeMapper extends BaseMapper<KnowledgeDO> {
    @Select("SELECT * FROM aigc_knowledge")
    List<KnowledgeResp> selectKnowledge();
}