using DS.Module.Core;
using DS.WMS.Core.Flow.Dtos;
using DS.WMS.Core.TaskInteraction.Dtos;
namespace DS.WMS.Core.TaskInteraction.Interface
{
///
/// 可审核的交互任务
///
public interface IAuditTaskService : ITaskService
{
///
/// 发起任务审核
///
///
/// 是否使用事务
///
Task SubmitAuditAsync(TaskRequest request, bool useTransaction = true);
///
/// 撤销审核任务
///
///
/// 是否使用事务
///
Task WithdrawAsync(TaskRequest request, bool useTransaction = true);
///
/// 任务审核
///
///
///
Task AuditAsync(TaskAuditRequest request);
///
/// 审批完成回调更新
///
/// 回调信息
///
Task UpdateBusinessAsync(FlowCallback callback);
///
/// 通知审批执行人变更
///
/// 回调信息
///
Task MarkerChangedAsync(MarkerChangedCallback callback);
}
}