|
|
|
@ -309,6 +309,11 @@ namespace DS.WMS.Core.TaskPlat
|
|
|
|
|
if (isSuccess == false)
|
|
|
|
|
{
|
|
|
|
|
flowLog.IsSuccess = false;
|
|
|
|
|
|
|
|
|
|
if (!executeConfig.IsExceptionContinue)
|
|
|
|
|
{
|
|
|
|
|
throw new Exception("模块执行结果为失败,并且IsExceptionContinue配置为false,已跳出流程");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -335,11 +340,11 @@ namespace DS.WMS.Core.TaskPlat
|
|
|
|
|
{
|
|
|
|
|
exMessage = WriteLog("模块外部调用过程中发生异常", ex);
|
|
|
|
|
}
|
|
|
|
|
flowLogDetail.ExceptionMessage = exMessage;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
flowLog.IsComplete = false;
|
|
|
|
|
flowLog.IsSuccess = false;
|
|
|
|
|
|
|
|
|
|
flowLogDetail.ExceptionMessage = exMessage;
|
|
|
|
|
flowLogDetail.IsComplete = false;
|
|
|
|
|
flowLogDetail.IsSuccess = false;
|
|
|
|
|
await tenantDb.CopyNew().Insertable(flowLogDetail).ExecuteCommandAsync();
|
|
|
|
|