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

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import org.springblade.plugin.workflow.chat.pojo.entity.WfChatAppEntity;
import org.springblade.plugin.workflow.chat.pojo.vo.WfChatAppVO;
import org.springblade.plugin.workflow.chat.excel.WfChatAppExcel;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.base.BaseService;
import java.util.List;

/**
 * dify - 应用 服务类
 *
 * @author ssc
 */
public interface IWfChatAppService extends BaseService<WfChatAppEntity> {
	/**
	 * 自定义分页
	 *
	 * @param page 分页参数
	 * @param model 查询参数
	 * @return IPage<ModelVO>
	 */
	IPage<WfChatAppVO> selectAppPage(IPage<WfChatAppVO> page, WfChatAppVO model);


	/**
	 * 导出数据
	 *
	 * @param queryWrapper 查询条件
	 * @return List<ModelExcel>
	 */
	List<WfChatAppExcel> exportApp(Wrapper<WfChatAppEntity> queryWrapper);

	void submit(WfChatAppEntity app);

}
