using DS.Module.Core;
using DS.WMS.Core.Flow.Dtos;
using DS.WMS.Core.Flow.Entity;
using DS.WMS.Core.Op.Entity;
namespace DS.WMS.Core.Flow.Interface;
public interface IClientFlowInstanceService
{
///
/// 列表查询
///
///
///
DataResult> GetListByPage(PageRequest request);
///
/// 添加编辑
///
///
///
DataResult EditFlowInstance(FlowInstanceReq req);
///
/// 获取详情
///
///
///
DataResult GetFlowInstanceInfo(string id);
///
/// 启动实例
///
///
///
DataResult StartFlowInstance(string id);
///
/// 创建工作流实例
///
///
///
DataResult CreateFlowInstance(CreateFlowInstanceReq req);
///
/// 工作流审批
///
///
///
DataResult AuditFlowInstance(FlowInstanceAuditReq req);
///
/// 工作流审批
///
///
///
DataResult AuditFlowInstance(FlowAuditInfo info);
///
/// 撤销工作流
///
///
///
DataResult CancelFlowInstance(CancelFlowInstanceReq req);
///
/// 获取流程操作历史
///
///
///
DataResult> GetFlowInstanceHistoryList(string id);
///
/// 工作流审批
///
/// 工作流实例
///
DataResult> GetFlowInstances(long businessId, BusinessType? businessType);
}