package com.yunzhupaas.flowable.service;

import com.yunzhupaas.base.service.SuperService;
import com.yunzhupaas.flowable.entity.OperatorEntity;
import com.yunzhupaas.flowable.entity.RejectDataEntity;
import com.yunzhupaas.flowable.entity.TaskEntity;
import com.yunzhupaas.exception.WorkFlowException;

import java.util.List;

/**
 * 类的描述
 *
 * @author YUNZHUPAASYUNZHUPAAS开发组
 * @version 5.0.x
 * @since 2024/5/8 18:07
 */
public interface RejectDataService extends SuperService<RejectDataEntity> {
    /**
     * 详情
     *
     * @param id 主键
     */
    RejectDataEntity getInfo(String id) throws WorkFlowException;

    /**
     * 新增
     *
     * @param taskEntity         任务
     * @param operatorEntityList 经办集合
     * @param nodeCode           节点编码
     */
    RejectDataEntity create(TaskEntity taskEntity, List<OperatorEntity> operatorEntityList, String nodeCode);
}
