|
|
|
@ -226,6 +226,17 @@ namespace DS.WMS.Core.TaskPlat
|
|
|
|
|
dataContext.Set(paramItem.FieldName!, paramItem.FieldValue!);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (executeConfig.ExecuteModuleId == 0)
|
|
|
|
|
{
|
|
|
|
|
flowLogDetail.ElapsedMillisecond = 0;
|
|
|
|
|
flowLogDetail.IsComplete = true;
|
|
|
|
|
flowLogDetail.ModuleId = 0;
|
|
|
|
|
flowLogDetail.ModuleName = "(终止模块)";
|
|
|
|
|
|
|
|
|
|
await tenantDb.CopyNew().Insertable(flowLogDetail).ExecuteCommandAsync();
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var module = moduleList.FirstOrDefault(x => x.Id == executeConfig.ExecuteModuleId);
|
|
|
|
|
if (module == null)
|
|
|
|
|
{
|
|
|
|
|