|
@@ -2307,8 +2307,8 @@ public class OrderController : BaseController
|
|
|
await Update(dto.Data);
|
|
|
}
|
|
|
|
|
|
- try
|
|
|
- {
|
|
|
+ //try
|
|
|
+ //{
|
|
|
var expiredTimeConfig = new ExpiredTimeWithConfig();
|
|
|
if (dto.Workflow.NextHandlers.Any(d => d.Key == "001170" || d.Key == "001177"))
|
|
|
{
|
|
@@ -2332,13 +2332,13 @@ public class OrderController : BaseController
|
|
|
startDto.DefinitionModuleCode = WorkflowModuleConsts.OrderHandle;
|
|
|
startDto.Title = dto.Data.Title;
|
|
|
await _workflowApplication.StartWorkflowAsync(startDto, id, expiredTimeConfig, HttpContext.RequestAborted);
|
|
|
- }
|
|
|
- catch (Exception e)
|
|
|
- {
|
|
|
- if (isAdd)
|
|
|
- await Remove(id);
|
|
|
- throw new UserFriendlyException($"工单开启流程失败!, {e.Message}", "工单开启流程失败");
|
|
|
- }
|
|
|
+ //}
|
|
|
+ //catch (Exception e)
|
|
|
+ //{
|
|
|
+ // if (isAdd)
|
|
|
+ // await Remove(id);
|
|
|
+ // throw new UserFriendlyException($"工单开启流程失败!, {e.Message}, {e.StackTrace}", "工单开启流程失败");
|
|
|
+ //}
|
|
|
}
|
|
|
|
|
|
/// <summary>
|