package org.springblade.plugin.workflow.chat.mapper;

import org.springblade.plugin.workflow.chat.pojo.entity.WfChatAssistantEntity;
import org.springblade.plugin.workflow.chat.pojo.vo.WfChatAssistantVO;
import org.springblade.plugin.workflow.chat.excel.WfChatAssistantExcel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * dify - 智能助理 Mapper 接口
 *
 * @author ssc
 */
public interface WfChatAssistantMapper extends BaseMapper<WfChatAssistantEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page 分页参数
	 * @param application 查询参数
	 * @return List<ChatAssistantVO>
	 */
	List<WfChatAssistantVO> selectAssistantPage(IPage page, WfChatAssistantVO application);


	/**
	 * 获取导出数据
	 *
	 * @param queryWrapper 查询条件
	 * @return List<ChatAssistantExcel>
	 */
	List<WfChatAssistantExcel> exportAssistant(@Param("ew") Wrapper<WfChatAssistantEntity> queryWrapper);

}
