From b62bb3dd07835a61d991ecc726ec0953c847b821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B5=87=E6=96=87=E9=BE=99?= Date: Mon, 12 Aug 2024 13:48:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=A4=E4=BA=92=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E9=85=8D=E7=BD=AE=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Constants/TaskFlowDataNameConst.cs | 8 ++ .../Flow/Method/FlowInstanceService.cs | 46 +++--- .../Op/Entity/TaskInteraction/BusinessTask.cs | 9 +- .../TaskInteraction/BusinessTaskConfig.cs | 43 ++++++ .../TaskInteraction/IActionManagerService.cs | 9 ++ .../TaskInteraction/ActionManagerService.cs | 29 +++- .../Op/Method/TaskInteraction/TaskService.cs | 24 ++++ .../DS.WMS.FeeApi/Logs/internal-nlog.txt | 133 ------------------ 8 files changed, 143 insertions(+), 158 deletions(-) create mode 100644 ds-wms-service/DS.WMS.Core/Op/Entity/TaskInteraction/BusinessTaskConfig.cs delete mode 100644 ds-wms-service/DS.WMS.FeeApi/Logs/internal-nlog.txt diff --git a/ds-wms-service/DS.Module.Core/Constants/TaskFlowDataNameConst.cs b/ds-wms-service/DS.Module.Core/Constants/TaskFlowDataNameConst.cs index a928d9ce..ce5019c4 100644 --- a/ds-wms-service/DS.Module.Core/Constants/TaskFlowDataNameConst.cs +++ b/ds-wms-service/DS.Module.Core/Constants/TaskFlowDataNameConst.cs @@ -41,6 +41,14 @@ /// public const string TaskPkId = "taskPkId"; + /// + /// 关联任务 + /// public const string BusinessTask = "BusinessTask"; + + /// + /// 主业务数据 + /// + public const string Business = "Business"; } } diff --git a/ds-wms-service/DS.WMS.Core/Flow/Method/FlowInstanceService.cs b/ds-wms-service/DS.WMS.Core/Flow/Method/FlowInstanceService.cs index 09bffd3f..5bc2e993 100644 --- a/ds-wms-service/DS.WMS.Core/Flow/Method/FlowInstanceService.cs +++ b/ds-wms-service/DS.WMS.Core/Flow/Method/FlowInstanceService.cs @@ -367,11 +367,19 @@ public class FlowInstanceService : ServiceBase, IFlowInstanceService runtime.MakeTagNode(runtime.CurrentNodeId, tag); //标记审核节点状态 var res = runtime.NodeConfluence(runtime.CurrentNodeId, tag); - if (res == TagState.No.ToString("D")) + if (res == ((int)TagState.No).ToString()) //驳回 { instance.FlowStatus = FlowStatusEnum.Reject; + if (runtime.NextNodeType == 4) + { + instance.PreviousId = instance.ActivityId; + instance.ActivityId = runtime.NextNodeId; + instance.ActivityType = runtime.NextNodeType; + instance.ActivityName = runtime.NextNode.Name; + instance.MakerList = runtime.NextNodeType == 4 ? string.Empty : GetNextMakers(runtime); + } } - else if (!string.IsNullOrEmpty(res)) + else if (!string.IsNullOrEmpty(res)) //通过 { if (runtime.NextNodeType == 5) { @@ -384,25 +392,22 @@ public class FlowInstanceService : ServiceBase, IFlowInstanceService instance.ActivityType = runtime.NextNodeType; instance.ActivityName = runtime.NextNode.Name; instance.FlowStatus = runtime.NextNodeType == 4 ? FlowStatusEnum.Approve : FlowStatusEnum.Running; - instance.MakerList = runtime.NextNodeType == 4 ? "1" : GetNextMakers(runtime); + instance.MakerList = runtime.NextNodeType == 4 ? string.Empty : GetNextMakers(runtime); } } - else + else //继续审批 { //会签过程中,需要更新用户 instance.MakerList = GetForkNodeMakers(runtime, runtime.CurrentNodeId); } - //审批未结束 - if (runtime.NextNodeType != 4 && runtime.NextNodeType != -1) + var marker = GetNextMarkers(instance); + //获取会签下一执行人,进行通知 + if (!string.IsNullOrEmpty(marker) && !instance.MarkerNotifyURL.IsNullOrEmpty()) { - var marker = GetNextMarkers(instance); - //获取会签下一执行人,进行通知 - if (!string.IsNullOrEmpty(marker) && !instance.MarkerNotifyURL.IsNullOrEmpty()) - { - Task.Factory.StartNew(() => NotifyMarkerChangedAsync(status, instance, long.Parse(marker))); - } + Task.Factory.StartNew(() => NotifyMarkerChangedAsync(status, instance, long.Parse(marker))); } + } #endregion 会签 @@ -424,7 +429,7 @@ public class FlowInstanceService : ServiceBase, IFlowInstanceService else { instance.FlowStatus = FlowStatusEnum.Reject; //表示该节点不同意 - runtime.NextNodeId = "-1"; + runtime.NextNodeId = string.Empty; runtime.NextNodeType = 4; } } @@ -432,17 +437,12 @@ public class FlowInstanceService : ServiceBase, IFlowInstanceService #endregion 或签 int nextNodeType = runtime.GetNextNodeType(); - //todo:前端组织JSON结构错有误,加入临时修复代码,待前端改正后移除 - if (string.IsNullOrEmpty(runtime.Note)) + var serializerSettings = new JsonSerializerSettings { - var serializerSettings = new JsonSerializerSettings - { - // 设置为驼峰命名 - ContractResolver = new Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver() - }; - instance.Content = JsonConvert.SerializeObject(runtime.ToFlowRoot(), Formatting.None, serializerSettings); - } - + // 设置为驼峰命名 + ContractResolver = new Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver() + }; + instance.Content = JsonConvert.SerializeObject(runtime.ToFlowRoot(), Formatting.None, serializerSettings); instance.Note = auditNote; Db.Updateable(instance).ExecuteCommand(); diff --git a/ds-wms-service/DS.WMS.Core/Op/Entity/TaskInteraction/BusinessTask.cs b/ds-wms-service/DS.WMS.Core/Op/Entity/TaskInteraction/BusinessTask.cs index dcb5c96e..21720458 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Entity/TaskInteraction/BusinessTask.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Entity/TaskInteraction/BusinessTask.cs @@ -1,4 +1,5 @@ using DS.Module.Core; +using DS.Module.Core.Data; using DS.Module.Core.Extensions; using SqlSugar; @@ -8,7 +9,7 @@ namespace DS.WMS.Core.Op.Entity.TaskInteraction /// 业务任务交互表 /// [SugarTable("business_task", "业务任务交互表")] - public class BusinessTask + public class BusinessTask : ITenantId { /// /// ID @@ -82,5 +83,11 @@ namespace DS.WMS.Core.Op.Entity.TaskInteraction /// [SugarColumn(ColumnDescription = "审批驳回理由", Length = 200, IsNullable = true)] public string? RejectReason { get; set; } + + /// + /// 租户ID + /// + [SugarColumn(ColumnDescription = "租户ID")] + public long TenantId { get; set; } } } diff --git a/ds-wms-service/DS.WMS.Core/Op/Entity/TaskInteraction/BusinessTaskConfig.cs b/ds-wms-service/DS.WMS.Core/Op/Entity/TaskInteraction/BusinessTaskConfig.cs new file mode 100644 index 00000000..47e78334 --- /dev/null +++ b/ds-wms-service/DS.WMS.Core/Op/Entity/TaskInteraction/BusinessTaskConfig.cs @@ -0,0 +1,43 @@ +using DS.Module.Core; +using DS.Module.Core.Data; +using SqlSugar; + +namespace DS.WMS.Core.Op.Entity.TaskInteraction +{ + /// + /// 交互任务配置表 + /// + [SugarTable("business_task_config", "交互任务配置表")] + public class BusinessTaskConfig : BaseTenantModelV2 + { + /// + /// 任务类型 + /// + [SugarColumn(IsPrimaryKey = true, ColumnDescription = "任务类型", IsNullable = false)] + public TaskBaseTypeEnum TaskType { get; set; } + + /// + /// 数据源名称 + /// + [SugarColumn(ColumnDescription = "数据源名称", IsNullable = false)] + public string SourceName { get; set; } = string.Empty; + + /// + /// 匹配条件 + /// + [SugarColumn(ColumnDescription = "匹配条件", IsNullable = false)] + public string MatchCondition { get; set; } = string.Empty; + + /// + /// 是否跳过执行 + /// + [SugarColumn(ColumnDescription = "是否跳过执行", DefaultValue = "0")] + public bool IsSkip { get; set; } + + /// + /// 是否同步完成 + /// + [SugarColumn(ColumnDescription = "是否同步完成", DefaultValue = "0")] + public bool IsSynchronizationComplete { get; set; } + } +} diff --git a/ds-wms-service/DS.WMS.Core/Op/Interface/TaskInteraction/IActionManagerService.cs b/ds-wms-service/DS.WMS.Core/Op/Interface/TaskInteraction/IActionManagerService.cs index 63ef5be9..78a2e7fa 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Interface/TaskInteraction/IActionManagerService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Interface/TaskInteraction/IActionManagerService.cs @@ -1,5 +1,6 @@ using DS.Module.Core; using DS.Module.Core.Data; +using DS.WMS.Core.Op.Entity; using DS.WMS.Core.Op.Entity.TaskInteraction; namespace DS.WMS.Core.Op.Interface.TaskInteraction @@ -9,6 +10,14 @@ namespace DS.WMS.Core.Op.Interface.TaskInteraction /// public interface IActionManagerService { + /// + /// 获取所需业务数据 + /// + /// 业务ID + /// 业务类型 + /// + dynamic? GetBusinessData(long businessId, BusinessType businessType); + /// /// 执行特定动作 /// diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/ActionManagerService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/ActionManagerService.cs index 04761515..123fe96e 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/ActionManagerService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/ActionManagerService.cs @@ -8,6 +8,8 @@ using Masuit.Tools; using SqlSugar; using Fasterflect; using Microsoft.Extensions.DependencyInjection; +using DS.WMS.Core.Op.Entity; +using DS.WMS.Core.Op.Interface; namespace DS.WMS.Core.Op.Method.TaskInteraction { @@ -23,6 +25,29 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction { } + /// + /// 获取所需业务数据 + /// + /// 业务ID + /// 业务类型 + /// + public dynamic? GetBusinessData(long businessId, BusinessType businessType) + { + object? biz = null; + switch (businessType) + { + case BusinessType.OceanShippingExport: + var service1 = ServiceProvider.GetRequiredService(); + biz = service1.GetSeaExportInfo(businessId.ToString())?.Data; + break; + + case BusinessType.OceanShippingImport: + break; + } + + return biz; + } + /// /// 触发任务执行动作 /// @@ -36,9 +61,11 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction if (businessTask.TaskStatus != TaskStatusEnum.Complete) return; + var biz = GetBusinessData(businessTask.BusinessId, businessTask.BusinessType); // 执行自动化操作 TaskFlowDataContext dataContext = new( - (TaskFlowDataNameConst.BusinessTask, businessTask) + (TaskFlowDataNameConst.BusinessTask, businessTask), + (TaskFlowDataNameConst.Business, biz) ); TaskFlowRuner taskFlow = new(TenantDb, ServiceProvider); diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs index c9b47832..eef11c88 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs @@ -239,6 +239,30 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction if (!await EnsureModuleAuthorized()) return DataResult.SuccessedWithDesc(nameof(MultiLanguageConst.ModuleUnauthorized)); + var configList = await TenantDb.Queryable().Where(x => x.TaskType == request.TaskType && x.IsSkip) + .Select(x => new { x.SourceName, x.MatchCondition }).ToListAsync(); + if (configList.Count > 0) + { + var biz = ActionService.Value.GetBusinessData(request.BusinessId, request.BusinessType); + if (biz != null) + { + //循环匹配 + + var logEntity = new BusinessTaskLog + { + ActionType = ActionType.Create, + BusinessId = request.BusinessId, + BusinessType = request.BusinessType, + TaskType = request.TaskType, + CreateBy = long.Parse(User.UserId), + CreateTime = DateTime.Now, + Remark = "符合设定条件,已跳过任务的创建" + }; + await LogService.WriteLogAsync(logEntity); + return new DataResult(ResultCode.Success, logEntity.Remark); + } + } + var task = await GetQuery(request.BusinessId, request.BusinessType, request.TaskType).FirstAsync(); if (task != null && task.TaskStatus != TaskStatusEnum.Cancel) return DataResult.FailedWithDesc(nameof(MultiLanguageConst.TaskExists)); diff --git a/ds-wms-service/DS.WMS.FeeApi/Logs/internal-nlog.txt b/ds-wms-service/DS.WMS.FeeApi/Logs/internal-nlog.txt deleted file mode 100644 index cf527158..00000000 --- a/ds-wms-service/DS.WMS.FeeApi/Logs/internal-nlog.txt +++ /dev/null @@ -1,133 +0,0 @@ -2024-08-06 17:41:55.1442 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-06 17:41:55.1636 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-06 17:41:55.1636 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-06 17:41:55.1797 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-06 17:41:55.1851 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-06 17:41:55.1851 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-06 17:41:55.1954 Info Configuration initialized. -2024-08-06 18:03:54.7008 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-06 18:03:54.7313 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-06 18:03:54.7313 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-06 18:03:54.7313 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-06 18:03:54.7510 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-06 18:03:54.7510 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-06 18:03:54.7510 Info Configuration initialized. -2024-08-07 08:46:51.9125 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-07 08:46:51.9431 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-07 08:46:51.9431 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-07 08:46:51.9568 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-07 08:46:51.9568 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-07 08:46:51.9568 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-07 08:46:51.9756 Info Configuration initialized. -2024-08-07 09:04:34.9065 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-07 09:04:34.9541 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-07 09:04:34.9541 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-07 09:04:34.9827 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-07 09:04:34.9827 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-07 09:04:34.9827 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-07 09:04:35.0075 Info Configuration initialized. -2024-08-07 09:17:39.6247 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-07 09:17:39.6653 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-07 09:17:39.6736 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-07 09:17:39.6948 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-07 09:17:39.7039 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-07 09:17:39.7039 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-07 09:17:39.7039 Info Configuration initialized. -2024-08-07 09:28:16.6771 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-07 09:28:16.7107 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-07 09:28:16.7107 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-07 09:28:16.7283 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-07 09:28:16.7283 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-07 09:28:16.7283 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-07 09:28:16.7442 Info Configuration initialized. -2024-08-07 09:33:16.6547 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-07 09:33:16.7205 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-07 09:33:16.7388 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-07 09:33:16.7590 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-07 09:33:16.7684 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-07 09:33:16.7684 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-07 09:33:16.7684 Info Configuration initialized. -2024-08-07 09:33:32.0201 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-07 09:33:32.1076 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-07 09:33:32.1153 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-07 09:33:32.1513 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-07 09:33:32.1697 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-07 09:33:32.1774 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-07 09:33:32.1893 Info Configuration initialized. -2024-08-08 19:26:58.7905 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-08 19:26:58.8056 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-08 19:26:58.8056 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-08 19:26:58.8273 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-08 19:26:58.8362 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-08 19:26:58.8362 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-08 19:26:58.8481 Info Configuration initialized. -2024-08-08 19:36:34.0880 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-08 19:36:34.1051 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-08 19:36:34.1051 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-08 19:36:34.1272 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-08 19:36:34.1328 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-08 19:36:34.1328 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-08 19:36:34.1328 Info Configuration initialized. -2024-08-08 19:40:03.9111 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-08 19:40:03.9261 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-08 19:40:03.9261 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-08 19:40:03.9450 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-08 19:40:03.9450 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-08 19:40:03.9450 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-08 19:40:03.9705 Info Configuration initialized. -2024-08-08 19:42:03.3221 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-08 19:42:03.3385 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-08 19:42:03.3385 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-08 19:42:03.3600 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-08 19:42:03.3685 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-08 19:42:03.3685 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-08 19:42:03.3792 Info Configuration initialized. -2024-08-08 19:45:17.0145 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-08 19:45:17.0283 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-08 19:45:17.0388 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-08 19:45:17.0558 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-08 19:45:17.0558 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-08 19:45:17.0558 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-08 19:45:17.0705 Info Configuration initialized. -2024-08-08 19:50:25.5770 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-08 19:50:25.5939 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-08 19:50:25.5982 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-08 19:50:25.6221 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-08 19:50:25.6344 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-08 19:50:25.6344 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-08 19:50:25.6462 Info Configuration initialized. -2024-08-08 19:50:43.2804 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-08 19:50:43.3091 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-08 19:50:43.3169 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-08 19:50:43.3389 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-08 19:50:43.3504 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-08 19:50:43.3504 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-08 19:50:43.3641 Info Configuration initialized. -2024-08-08 19:59:15.1013 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-08 19:59:15.1139 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-08 19:59:15.1139 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-08 19:59:15.1322 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-08 19:59:15.1322 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-08 19:59:15.1322 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-08 19:59:15.1461 Info Configuration initialized. -2024-08-09 09:16:39.0114 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-09 09:16:39.0238 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-09 09:16:39.0238 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-09 09:16:39.0383 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-09 09:16:39.0383 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-09 09:16:39.0383 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-09 09:16:39.0514 Info Configuration initialized. -2024-08-10 12:01:49.1932 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-10 12:01:49.1932 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-10 12:01:49.2108 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-10 12:01:49.2239 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-10 12:01:49.2239 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-10 12:01:49.2239 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-10 12:01:49.2239 Info Configuration initialized. -2024-08-10 13:40:09.5237 Info Registered target NLog.Targets.FileTarget(Name=allfile) -2024-08-10 13:40:09.5416 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web) -2024-08-10 13:40:09.5465 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console) -2024-08-10 13:40:09.5667 Info NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: 5.2.8.2366. Product version: 5.2.8+f586f1341c46fa38aaaff4c641e7f0fa7e813943. GlobalAssemblyCache: False -2024-08-10 13:40:09.5743 Info Validating config: TargetNames=console, ownFile-web, ConfigItems=54, FilePath=D:\Source\Repos\DS8\ds-wms-service\DS.WMS.FeeApi\bin\Debug\net8.0\nlog.config -2024-08-10 13:40:09.5743 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile -2024-08-10 13:40:09.5743 Info Configuration initialized.