package com.tykj.workflowcore.workflow_editer.service;

import com.tykj.workflowcore.workflow_editer.entity.DataHistory;
import com.tykj.workflowcore.workflow_editer.entity.FlowsInfo;
import com.tykj.workflowcore.workflow_editer.entity.vo.FlowsInfoVo;
import com.tykj.workflowcore.workflow_editer.entity.vo.SearchAllFlowInfoVo;
import com.tykj.workflowcore.workflow_editer.entity.vo.SearchFlowInfoVo;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * ClassName:    FlowInfoService
 * Package:    com.tykj.service
 * Description: 流程
 * Datetime:    2021/2/24   10:02
 *
 * @Author: zsp
 */
public interface DataHistoryService {

    /**
     * 保存
     * @param dataHistory 历史数据对象
     * @return flowsInfo
     */
    DataHistory saveData(DataHistory dataHistory);

    /**
     * 根据任务id查询
     * @param taskId 任务id
     * @return flowsInfo 对象
     */
    DataHistory findByTaskId(String taskId);


}
