可正常启动
This commit is contained in:
parent
4cab885098
commit
893ab0e29f
@ -0,0 +1,40 @@
|
||||
package com.qqchen.deploy.backend.workflow.service;
|
||||
|
||||
import com.qqchen.deploy.backend.framework.service.IBaseService;
|
||||
import com.qqchen.deploy.backend.workflow.api.dto.NodeInstanceDTO;
|
||||
import com.qqchen.deploy.backend.workflow.entity.NodeInstance;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 节点实例服务接口
|
||||
*/
|
||||
public interface INodeInstanceService extends IBaseService<NodeInstance, NodeInstanceDTO, Long> {
|
||||
|
||||
/**
|
||||
* 根据工作流实例ID查询节点实例列表
|
||||
*
|
||||
* @param workflowInstanceId 工作流实例ID
|
||||
* @return 节点实例列表
|
||||
*/
|
||||
List<NodeInstanceDTO> findByWorkflowInstanceId(Long workflowInstanceId);
|
||||
|
||||
/**
|
||||
* 根据工作流实例ID和状态查询节点实例列表
|
||||
*
|
||||
* @param workflowInstanceId 工作流实例ID
|
||||
* @param status 状态
|
||||
* @return 节点实例列表
|
||||
*/
|
||||
List<NodeInstanceDTO> findByWorkflowInstanceIdAndStatus(Long workflowInstanceId, String status);
|
||||
|
||||
/**
|
||||
* 更新节点状态
|
||||
*
|
||||
* @param id 节点实例ID
|
||||
* @param status 状态
|
||||
* @param output 输出结果
|
||||
* @param error 错误信息
|
||||
* @return 是否成功
|
||||
*/
|
||||
boolean updateStatus(Long id, String status, String output, String error);
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user