using DS.Module.Core;
using DS.WMS.Core.Flow.Dtos;
namespace DS.WMS.Core.Flow.Interface;
///
/// 工作流
///
public interface IFlowInstanceService
{
///
/// 列表查询
///
///
///
DataResult> GetListByPage(PageRequest request);
///
/// 添加编辑
///
///
///
DataResult EditFlowInstance(FlowInstanceReq req);
///
/// 获取详情
///
///
///
DataResult GetFlowInstanceInfo(string id);
///
/// 启动实例
///
///
///
public DataResult StartFlowInstance(string id);
///
/// 创建工作流实例
///
///
///
public DataResult CreateFlowInstance(CreateFlowInstanceReq req);
///
/// 工作流审批
///
///
///
Task AuditAsync(FlowInstanceAuditReq req);
///
/// 撤销工作流
///
///
///
public DataResult WithdrawFlowInstance(CancelFlowInstanceReq req);
///
/// 获取流程操作历史
///
///
///
DataResult> GetFlowInstanceHistoryList(string id);
}