package com.tykj.workflowcore.workflow_editer.dao;


import com.tykj.workflowcore.workflow_editer.entity.DataHistory;
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 uniqueString 任务id
     * @return
     */
    DataHistory findByUniqueString(String uniqueString);

}
