package com.yunzhupaas.engine.service;

import com.yunzhupaas.base.service.SuperService;
import com.yunzhupaas.engine.entity.FlowEventLogEntity;

import java.util.List;

/**
 * 流程事件日志
 *
 * @author 云筑产品开发平台组
 * @version V3.1.0
 * @copyright 深圳市乐程软件有限公司
 */
public interface FlowEventLogService extends SuperService<FlowEventLogEntity> {

    /**
     * 创建
     *
     * @param entity 实体对象
     */
    void create(FlowEventLogEntity entity);

    /**
     * 获取日志列表
     *
     * @param taskNodeId
     * @return
     */
    List<FlowEventLogEntity> getList(List<String> taskNodeId);

}

