申请修改bug修复

dev
嵇文龙 5 months ago
parent 78f61a6cfc
commit 37b37ebbdf

@ -564,12 +564,6 @@ namespace DS.WMS.Core.Fee.Dtos
/// 提交日期
/// </summary>
public DateTime? SubmitDate { get; set; }
/// <summary>
/// 审核人Id
/// </summary>
public long? AuditBy { get; set; }
/// <summary>
/// 审核人
/// </summary>
@ -578,65 +572,5 @@ namespace DS.WMS.Core.Fee.Dtos
/// 审核日期
/// </summary>
public DateTime? AuditDate { get; set; }
/// <summary>
/// 单号
/// </summary>
public string OrderNo { get; set; }
/// <summary>
/// 船名
/// </summary>
public string Vessel { get; set; }
/// <summary>
/// 航次
/// </summary>
public string Voyage { get; set; }
/// <summary>
/// 国外代理
/// </summary>
public long? ForeignAgencyId { get; set; }
/// <summary>
/// 运输类型
/// </summary>
public string ShipmentType { get; set; }
/// <summary>
/// 揽货人
/// </summary>
public long? SaleId { get; set; }
/// <summary>
/// 业务日期
/// </summary>
public DateTime? BusinessDate { get; set; }
/// <summary>
/// 业务来源
/// </summary>
public long? SourceId { get; set; }
/// <summary>
/// 会计期间
/// </summary>
public DateTime? AccountDate { get; set; }
/// <summary>
/// 操作人
/// </summary>
public string Op { get; set; }
/// <summary>
/// 是否费用提交
/// </summary>
public bool IsSubmited { get; set; }
/// <summary>
/// 利润减少
/// </summary>
////public string ProfitReduction { get; set; }
}
}

@ -0,0 +1,20 @@
namespace DS.WMS.Core.Fee.Dtos
{
public class FeeAuditRequest
{
/// <summary>
/// 审核结果1=通过2=驳回
/// </summary>
public int Result { get; set; }
/// <summary>
/// 审批备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 审批的费用ID
/// </summary>
public long[] Ids { get; set; }
}
}

@ -3,10 +3,25 @@ using DS.WMS.Core.Fee.Dtos;
namespace DS.WMS.Core.Fee.Interface
{
/// <summary>
/// 费用审核
/// </summary>
public interface IFeeAuditService
{
/// <summary>
/// 获取列表分页数据
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<FeeAuditBusiness>> GetListByPage(PageRequest request);
/// <summary>
/// 批量审批
/// </summary>
/// <param name="yesOrNo">审批结果</param>
/// <param name="remark">备注</param>
/// <param name="idArray">待审批的费用ID</param>
/// <returns></returns>
DataResult Audit(int yesOrNo, string remark, params long[] idArray);
}
}

@ -1,18 +1,23 @@
using DS.Module.Core;
using DS.Module.Core.Extensions;
using DS.Module.SqlSugar;
using DS.Module.UserModule;
using DS.WMS.Core.Fee.Dtos;
using DS.WMS.Core.Fee.Entity;
using DS.WMS.Core.Fee.Interface;
using DS.WMS.Core.Flow.Dtos;
using DS.WMS.Core.Flow.Entity;
using DS.WMS.Core.Flow.Interface;
using DS.WMS.Core.Op.Entity;
using DS.WMS.Core.Sys.Entity;
using Microsoft.Extensions.DependencyInjection;
using SqlSugar;
using DS.Module.Core.Extensions;
using DS.WMS.Core.Sys.Entity;
using DS.WMS.Core.Flow.Entity;
namespace DS.WMS.Core.Fee.Method
{
/// <summary>
/// 费用审核
/// </summary>
public class FeeAuditService : IFeeAuditService
{
//待审核的状态值
@ -23,6 +28,7 @@ namespace DS.WMS.Core.Fee.Method
readonly ISqlSugarClient db;
readonly IUser user;
readonly ISaasDbService saasService;
readonly IClientFlowInstanceService flowService;
public FeeAuditService(IServiceProvider serviceProvider)
{
@ -30,8 +36,14 @@ namespace DS.WMS.Core.Fee.Method
db = _serviceProvider.GetRequiredService<ISqlSugarClient>();
user = _serviceProvider.GetRequiredService<IUser>();
saasService = _serviceProvider.GetRequiredService<ISaasDbService>();
flowService = _serviceProvider.GetRequiredService<IClientFlowInstanceService>();
}
/// <summary>
/// 获取费用审核列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public DataResult<List<FeeAuditBusiness>> GetListByPage(PageRequest request)
{
var flowList = db.Queryable<FlowInstance>().Where(x => x.FlowStatus == RunningStatus && x.MakerList.Contains(user.UserId))
@ -139,6 +151,80 @@ namespace DS.WMS.Core.Fee.Method
return result;
}
/// <summary>
/// 批量审批
/// </summary>
/// <param name="yesOrNo">审批结果</param>
/// <param name="remark">备注</param>
/// <param name="idArray">待审批的费用ID</param>
/// <returns></returns>
public DataResult Audit(int yesOrNo, string remark, params long[] idArray)
{
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
var fees = tenantDb.Queryable<FeeRecord>().Where(x => idArray.Contains(x.Id)).Select(x => new
{
x.Id,
x.FeeName,
x.FeeStatus,
x.FlowId
}).ToList();
if (fees.Count == 0)
return DataResult.Failed("未能获取费用信息,提交失败");
if (fees.Exists(x => !x.FlowId.HasValue))
return DataResult.Failed("提交数据中包含未在审批状态的费用");
if (fees.Exists(x => !AuditStatusArray.Contains(x.FeeStatus)))
return DataResult.Failed("提交数据中包含不在待审批状态的费用");
var flowIds = fees.Select(x => x.FlowId.GetValueOrDefault());
var flows = db.Queryable<FlowInstance>().Where(x => flowIds.Contains(x.Id)).Select(x => new
{
x.Id,
x.ActivityId,
x.BusinessId,
x.BusinessType,
x.MakerList
}).ToList();
if (flows.Count == 0)
return DataResult.Failed("未能获取审批工作流");
if (flows.Exists(x => !x.MakerList.Contains(user.UserId)))
return DataResult.Failed("所选费用包含不属于当前用户权限范围内的审批,禁止提交");
List<string> list = new List<string>();
foreach (var fee in fees)
{
var flow = flows.Find(x => x.Id == fee.FlowId.Value);
if (flow == null)
{
continue;
}
var result = flowService.AuditFlowInstance(new FlowInstanceAuditReq
{
Id = flow.Id,
NodeId = flow.ActivityId,
Status = yesOrNo,
AuditNote = remark
});
if (!result.Succeeded)
{
list.Add(fee.FeeName);
}
}
if (list.Count > 0)
return DataResult.Failed($"部分费用审批失败:{string.Join("", list)}");
return DataResult.Success;
}
//public DataResult<List<FeeAudit>> GetListByPage(PageRequest request)
//{
// var tenantDb = saasService.GetBizDbScopeById(user.TenantId);

@ -13,8 +13,6 @@ using DS.WMS.Core.Flow.Interface;
using DS.WMS.Core.Info.Entity;
using DS.WMS.Core.Op.Entity;
using DS.WMS.Core.Sys.Entity;
using LanguageExt;
using LanguageExt.Pipes;
using Mapster;
using Masuit.Tools.Systems;
using Microsoft.Extensions.DependencyInjection;
@ -476,15 +474,16 @@ namespace DS.WMS.Core.Fee.Method
/// <returns></returns>
public DataResult SubmitForModification(IEnumerable<FeeModification> items)
{
var bizType = items.FirstOrDefault()?.BusinessType;
var idList = items.Select(x => x.FeeRecordId).Distinct().ToList();
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
var fees = tenantDb.Queryable<FeeRecord>().Where(x => idList.Contains(x.Id) && x.BusinessType == bizType).Select(x => new FeeRecord
var fees = tenantDb.Queryable<FeeRecord>().Where(x => idList.Contains(x.Id)).Select(x => new FeeRecord
{
Id = x.Id,
FeeName = x.FeeName,
FeeStatus = x.FeeStatus
}).ToList();
if (fees.Count == 0)
return DataResult.Failed("未能获取费用信息", MultiLanguageConst.Operation_Failed);
StringBuilder sb = new StringBuilder();
foreach (var fe in fees)
@ -613,12 +612,14 @@ namespace DS.WMS.Core.Fee.Method
return DataResult.Failed("未找到费用修改信息,更新失败", MultiLanguageConst.Operation_Failed);
var entity = fm.Adapt<FeeRecord>();
entity.Id = fm.FeeRecordId;
entity.FeeStatus = FeeStatus.AuditPassed;
entity.Reason = callback.RejectReason;
fee = entity;
entity.UpdateBy = long.Parse(user.UserId);
entity.UpdateTime = DateTime.Now;
//全表更新
tenantDb.Updateable(fee).ExecuteCommand();
tenantDb.Updateable(entity).IgnoreColumns(
x => new { x.AuditBy, x.AuditDate, x.AuditOperator, x.SubmitBy, x.SubmitDate }).ExecuteCommand();
//逻辑删除暂存数据
fm.Deleted = true;
@ -773,6 +774,14 @@ namespace DS.WMS.Core.Fee.Method
break;
case FeeStatus.ApplyModification:
item.FeeStatus = FeeStatus.AuditPassed;
//删除暂存数据
var entity = tenantDb.Queryable<FeeModification>().OrderByDescending(
x => x.CreateTime).Select(x => new { x.Id, x.FeeRecordId }).First(x => x.FeeRecordId == item.Id);
if (entity != null)
{
tenantDb.Deleteable<FeeModification>().Where(x => x.Id == entity.Id).ExecuteCommand();
}
break;
case FeeStatus.ApplyDeletion:
item.FeeStatus = FeeStatus.AuditPassed;

@ -15,7 +15,7 @@ using SqlSugar;
namespace DS.WMS.Core.Flow.Method;
/// <summary>
///
/// 工作流服务
/// </summary>
public class FlowInstanceService : IFlowInstanceService
{
@ -140,7 +140,8 @@ public class FlowInstanceService : IFlowInstanceService
//流程==4为结束执行回调URL
if (wfruntime.GetNextNodeType() == 4 && !instance.CallbackURL.IsNullOrEmpty())
{
RunCallback(instance);
Task.Factory.StartNew(() => RunCallbackAsync(instance));
//RunCallbackAsync(instance);
}
var userInfo = db.Queryable<SysUser>().First(x => x.Id == long.Parse(user.UserId));
@ -269,7 +270,7 @@ public class FlowInstanceService : IFlowInstanceService
//流程==4为结束执行回调URL
if (wfruntime.GetNextNodeType() == 4 && !instance.CallbackURL.IsNullOrEmpty())
{
RunCallback(instance);
Task.Factory.StartNew(() => RunCallbackAsync(instance));
}
var userInfo = db.Queryable<SysUser>().First(x => x.Id == long.Parse(user.UserId));
@ -393,7 +394,7 @@ public class FlowInstanceService : IFlowInstanceService
if (runtime.NextNodeType != 5 && (nextNodeType == 4 || nextNodeType == -1) && !instance.CallbackURL.IsNullOrEmpty())
{
instance.Note = req.AuditNote;
RunCallback(instance);
Task.Factory.StartNew(() => RunCallbackAsync(instance));
}
var history = new FlowInstanceHistory
@ -410,10 +411,10 @@ public class FlowInstanceService : IFlowInstanceService
}
/// <summary>
/// 对指定的回调URL发起请求
/// 对指定的回调URL发起异步请求
/// </summary>
/// <param name="instance">运行实例</param>
protected virtual void RunCallback(FlowInstance instance)
protected virtual async Task RunCallbackAsync(FlowInstance instance)
{
if (!Uri.TryCreate(instance.CallbackURL, UriKind.RelativeOrAbsolute, out Uri? uri))
return;
@ -435,18 +436,15 @@ public class FlowInstanceService : IFlowInstanceService
var jsonRequest = new StringContent(JsonConvert.SerializeObject(callback), Encoding.UTF8, "application/json");
try
{
var response = http.PostAsync(uri, jsonRequest).GetAwaiter().GetResult();
var response = await http.PostAsync(uri, jsonRequest);
if (!response.IsSuccessStatusCode)
{
new HttpRequestException("回调请求失败", null, response.StatusCode).Log(db);
}
//获取响应内容
//var responseContent = response.Content.ReadAsStringAsync().GetAwaiter().GetResult();
//更新回调执行标识
instance.IsCallbackExecuted = true;
db.Updateable(instance).UpdateColumns(x => new { x.IsCallbackExecuted }).ExecuteCommand();
await db.Updateable(instance).UpdateColumns(x => new { x.IsCallbackExecuted }).ExecuteCommandAsync();
}
catch (Exception ex)
{

@ -1,6 +1,7 @@
using DS.Module.Core;
using DS.WMS.Core.Fee.Dtos;
using DS.WMS.Core.Fee.Interface;
using DS.WMS.Core.Flow.Dtos;
using DS.WMS.Core.Flow.Interface;
using Microsoft.AspNetCore.Mvc;
@ -12,11 +13,13 @@ namespace DS.WMS.FeeApi.Controllers
public class FeeAuditController : ApiController
{
readonly IFeeAuditService _auditService;
readonly IFeeRecordService _feeService;
readonly IClientFlowInstanceService _flowService;
public FeeAuditController(IFeeAuditService feeService, IClientFlowInstanceService flowService)
public FeeAuditController(IFeeAuditService auditService, IFeeRecordService feeService, IClientFlowInstanceService flowService)
{
_auditService = feeService;
_auditService = auditService;
_feeService = feeService;
_flowService = flowService;
}
@ -30,5 +33,33 @@ namespace DS.WMS.FeeApi.Controllers
{
return _auditService.GetListByPage(request);
}
/// <summary>
/// 费用审核
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
[HttpPost, Route("Audit")]
public DataResult Audit(FeeAuditRequest request)
{
if (request == null || request.Ids.Length == 0 || (request.Result != 1 && request.Result != 2))
return DataResult.Failed("参数无效", MultiLanguageConst.IllegalRequest);
return _auditService.Audit(request.Result, request.Remark, request.Ids);
}
/// <summary>
/// 变更费用审批状态
/// </summary>
/// <param name="callback">回调信息</param>
/// <returns></returns>
[HttpPost, Route("ChangeStatus")]
public DataResult ChangeStatus([FromBody] FlowCallback callback)
{
if (callback == null)
return DataResult.Failed("参数无效", MultiLanguageConst.IllegalRequest);
return _feeService.UpdateAuditStatus(callback);
}
}
}

@ -172,20 +172,6 @@ namespace DS.WMS.FeeApi.Controllers
return _feeService.Withdraw(model.Ids);
}
/// <summary>
/// 变更费用审批状态
/// </summary>
/// <param name="callback">回调信息</param>
/// <returns></returns>
[HttpPost, Route("ChangeStatus")]
public DataResult ChangeStatus([FromBody] FlowCallback callback)
{
if (callback == null)
return DataResult.Failed("参数无效", MultiLanguageConst.IllegalRequest);
return _feeService.UpdateAuditStatus(callback);
}
/// <summary>
/// 发起整单审核
/// </summary>

@ -915,3 +915,66 @@
2024-06-03 15:44:38.8472 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-06-03 15:44:38.8577 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-03 15:44:38.8577 Info Configuration initialized.
2024-06-04 09:19:02.1747 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-06-04 09:19:02.1870 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-06-04 09:19:02.1870 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-06-04 09:19:02.2013 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-06-04 09:19:02.2013 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-06-04 09:19:02.2013 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-04 09:19:02.2013 Info Configuration initialized.
2024-06-04 09:30:40.8208 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-06-04 09:30:40.8349 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-06-04 09:30:40.8349 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-06-04 09:30:40.8501 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-06-04 09:30:40.8501 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-06-04 09:30:40.8601 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-04 09:30:40.8601 Info Configuration initialized.
2024-06-04 09:45:46.2224 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-06-04 09:45:46.2362 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-06-04 09:45:46.2362 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-06-04 09:45:46.2480 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-06-04 09:45:46.2480 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-06-04 09:45:46.2480 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-04 09:45:46.2480 Info Configuration initialized.
2024-06-04 09:56:56.4603 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-06-04 09:56:56.4735 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-06-04 09:56:56.4735 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-06-04 09:56:56.4898 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-06-04 09:56:56.4898 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-06-04 09:56:56.4898 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-04 09:56:56.4898 Info Configuration initialized.
2024-06-04 10:17:46.2961 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-06-04 10:17:46.3101 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-06-04 10:17:46.3101 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-06-04 10:17:46.3270 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-06-04 10:17:46.3270 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-06-04 10:17:46.3270 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-04 10:17:46.3270 Info Configuration initialized.
2024-06-04 10:37:13.9459 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-06-04 10:37:13.9583 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-06-04 10:37:13.9583 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-06-04 10:37:13.9724 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-06-04 10:37:13.9724 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-06-04 10:37:13.9724 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-04 10:37:13.9845 Info Configuration initialized.
2024-06-04 10:59:51.9570 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-06-04 10:59:51.9708 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-06-04 10:59:51.9708 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-06-04 10:59:51.9866 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-06-04 10:59:51.9866 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-06-04 10:59:51.9974 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-04 10:59:51.9974 Info Configuration initialized.
2024-06-04 11:41:24.9145 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-06-04 11:41:24.9305 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-06-04 11:41:24.9361 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-06-04 11:41:24.9361 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-06-04 11:41:24.9547 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-06-04 11:41:24.9547 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-04 11:41:24.9547 Info Configuration initialized.
2024-06-04 13:56:31.1101 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-06-04 13:56:31.1231 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-06-04 13:56:31.1231 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-06-04 13:56:31.1231 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-06-04 13:56:31.1425 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-06-04 13:56:31.1425 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-04 13:56:31.1425 Info Configuration initialized.

Loading…
Cancel
Save