package com.tykj.workflowcore.workflow_editer.dao;


import com.tykj.workflowcore.workflow_editer.entity.DataHistory;
import com.tykj.workflowcore.workflow_editer.entity.FlowsInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * ClassName:    FlowsInfoMapper
 * Package:    com.tykj.mapper
 * Datetime:    2021/2/23   14:06
 * @Author: zsp
 */
public interface DataHistoryMapper extends JpaRepository<DataHistory,Integer>, JpaSpecificationExecutor<DataHistory>  {

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

}
