package com.tykj.workflowcore.workflow_editer.service.impl;

import com.tykj.workflowcore.workflow_editer.dao.DataHistoryMapper;
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 com.tykj.workflowcore.workflow_editer.service.DataHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

/**
 * ClassName:    DataHistoryServiceImpl
 * Package:    com.tykj.workflowcore.workflow_editer.service.impl
 * Description:
 * Datetime:    2021/4/16   15:27
 *
 * @Author: zsp
 */
@Service
public class DataHistoryServiceImpl implements DataHistoryService {

    @Autowired
    private DataHistoryMapper dataHistoryMapper;
    @Override
    public DataHistory saveData(DataHistory dataHistory) {
        return dataHistoryMapper.save(dataHistory);
    }

//    @Override
//    public DataHistory findByTaskId(String taskId) {
//        return dataHistoryMapper.findByTaskId(taskId);
//    }
}
