付费申请列表查询优化

usertest
嵇文龙 5 months ago
parent 23ab3a1c9a
commit 9ac2895bbe

@ -7,7 +7,7 @@ namespace DS.WMS.Core.Fee.Dtos
/// <summary>
/// 申请单关联业务
/// </summary>
public class FeeApplicationBiz
public class ApplicationBiz
{
/// <summary>
/// 业务Id
@ -20,22 +20,12 @@ namespace DS.WMS.Core.Fee.Dtos
public BusinessType BusinessType { get; set; }
/// <summary>
/// 结算单位ID
/// </summary>
public long? SettCustomerId { get; set; }
/// <summary>
/// 结算单位名称
/// </summary>
public string? SettCustomerName { get; set; }
/// <summary>
/// 委托单位ID
/// 费用对象/结费单位
/// </summary>
public long? CustomerId { get; set; }
/// <summary>
/// 委托单位名称
/// 费用对象/结费单位名称
/// </summary>
public string? CustomerName { get; set; }
@ -107,7 +97,6 @@ namespace DS.WMS.Core.Fee.Dtos
/// <summary>
/// 揽货人ID
/// </summary>
[IgnoreDataMember]
public long? SaleId { get; set; }
/// <summary>
@ -128,7 +117,6 @@ namespace DS.WMS.Core.Fee.Dtos
/// <summary>
/// 操作员ID
/// </summary>
[IgnoreDataMember]
public long? OperatorId { get; set; }
/// <summary>
@ -139,7 +127,6 @@ namespace DS.WMS.Core.Fee.Dtos
/// <summary>
/// 录入人ID
/// </summary>
[IgnoreDataMember]
public long CreateBy { get; set; }
/// <summary>
@ -180,7 +167,6 @@ namespace DS.WMS.Core.Fee.Dtos
/// <summary>
/// 所属部门ID
/// </summary>
[IgnoreDataMember]
public long SaleDeptId { get; set; }
/// <summary>

@ -140,110 +140,13 @@ namespace DS.WMS.Core.Fee.Dtos
/// 申请支付日期
/// </summary>
public DateTime? PaymentDate { get; set; }
}
public class PaymentApplicationQuery : ApplicationDto
{
/// <summary>
/// 申请单状态
/// </summary>
public PaymentApplicationStatus Status { get; set; }
/// <summary>
/// 人民币申请金额
/// </summary>
public decimal? AmountRMB { get; set; }
/// <summary>
/// 美元申请金额
/// </summary>
public decimal? AmountUSD { get; set; }
/// <summary>
/// 其他币别申请金额
/// </summary>
public decimal? AmountOther { get; set; }
/// <summary>
/// 结算方式
/// </summary>
public long? SettlementType { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Note { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
public long CreateBy { get; set; }
/// <summary>
/// 委托单位
/// </summary>
public string? Client { get; set; }
/// <summary>
/// 是否收到发票
/// </summary>
public bool IsInvoiceReceived { get; set; }
/// <summary>
/// 申请支付日期
/// </summary>
public DateTime? PaymentDate { get; set; }
/// <summary>
/// 人民币未申请
/// </summary>
public decimal? RestAmountRMB { get; set; }
/// <summary>
/// 美元未申请
/// </summary>
public decimal? RestAmountUSD { get; set; }
/// <summary>
/// 其他币别未申请
/// </summary>
public decimal? RestAmountOther { get; set; }
/// <summary>
/// 业务编号(仅查询用)
/// 业务编号
/// </summary>
public string? BillNO { get; set; }
/// <summary>
/// 审核状态(仅查询用)
/// </summary>
//public AuditStatusForQuery? AuditStatus { get; set; }
}
public enum AuditStatusForQuery
{
/// <summary>
/// 未审核
/// </summary>
Pending = 1,
/// <summary>
/// 已审核
/// </summary>
Audited = 2,
/// <summary>
/// 仅需自己审核
/// </summary>
MarkerOnly = 3
}
/// <summary>
/// 费用申请单明细
/// </summary>

@ -48,4 +48,22 @@ namespace DS.WMS.Core.Application.Dtos
/// </summary>
public long? CreateBy { get; set; }
}
public enum AuditStatusForQuery
{
/// <summary>
/// 未审核
/// </summary>
Pending = 1,
/// <summary>
/// 已审核
/// </summary>
Audited = 2,
/// <summary>
/// 仅需自己审核
/// </summary>
MarkerOnly = 3
}
}

@ -1,6 +1,4 @@
using DS.Module.Core;
using DS.Module.Core.PageQuery;
using DS.WMS.Core.Application.Dtos;
using DS.WMS.Core.Application.Entity;
using DS.WMS.Core.Fee.Dtos;
using DS.WMS.Core.Op.Entity;
@ -17,14 +15,14 @@ namespace DS.WMS.Core.Application.Interface
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
Task<DataResult<List<PaymentApplicationDto>>> GetListAsync(PageRequest<PaymentApplicationListQuery> request);
Task<DataResult<List<PaymentApplicationDto>>> GetListAsync(PageRequest request);
/// <summary>
/// 获取待付费的业务列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
Task<DataResult<List<FeeApplicationBiz>>> GetBizListAsync(PageRequest request);
Task<DataResult<List<ApplicationBiz>>> GetBizListAsync(PageRequest request);
/// <summary>
/// 获取申请单详情

@ -2,8 +2,6 @@
using DS.Module.Core;
using DS.Module.Core.Enums;
using DS.Module.Core.Extensions;
using DS.Module.Core.PageQuery;
using DS.WMS.Core.Application.Dtos;
using DS.WMS.Core.Application.Entity;
using DS.WMS.Core.Application.Interface;
using DS.WMS.Core.Fee.Dtos;
@ -27,12 +25,77 @@ namespace DS.WMS.Core.Application.Method
{
}
/// <summary>
/// 获取分页列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public async Task<DataResult<List<PaymentApplicationDto>>> GetListAsync(PageRequest request)
{
var queryList = CreateListQuery();
if (!request.QueryCondition.IsNullOrEmpty())
{
var whereList = Db.ConfigQuery.Context.Utilities.JsonToConditionalModels(request.QueryCondition);
queryList = queryList.Where(whereList);
}
return await queryList.GroupBy(x => x.Id).ToQueryPageAsync(request.PageCondition);
}
internal ISugarQueryable<PaymentApplicationDto> CreateListQuery()
{
var query1 = TenantDb.Queryable<PaymentApplication>()
.InnerJoin<ApplicationDetail>((a, d) => a.Id == d.ApplicationId)
.LeftJoin<SeaExport>((a, d, s) => d.BusinessId == s.Id)
.Select((a, d, s) => new PaymentApplicationDto
{
Id = a.Id,
ApplicationNO = a.ApplicationNO,
CustomerId = a.CustomerId,
CustomerName = a.CustomerName,
AmountOther = a.AmountOther,
AmountRMB = a.AmountRMB,
AmountUSD = a.AmountUSD,
SaleDeptId = a.SaleDeptId,
CreateBy = a.CreateBy,
CreateTime = a.CreateTime,
Currency = a.Currency,
ExchangeRate = a.ExchangeRate,
Reason = a.Reason,
Status = a.Status,
AuditerId = a.AuditerId,
AuditerName = a.AuditerName,
AuditTime = a.AuditTime,
IsInvoiceReceived = a.IsInvoiceReceived,
Client = s.CustomerName,
IsPrinted = a.IsPrinted,
PrintTimes = a.PrintTimes,
InvoiceAmount = a.InvoiceAmount,
InvoiceDate = a.InvoiceDate,
InvoiceNO = a.InvoiceNO,
CustomerBank = a.CustomerBank,
SettlementType = a.SettlementType,
PaymentDate = a.PaymentDate,
Note = a.Note,
BillNO = s.CustomerNo, //业务编号=委托编号
//汇总项
RestAmountRMB = SqlFunc.Subqueryable<FeeRecord>().Where(f => f.Id == d.RecordId && f.FeeStatus == FeeStatus.AuditPassed
&& f.Currency == RMB_CODE).Select(f => SqlFunc.AggregateSum(f.Amount - f.SettlementAmount - f.OrderAmount + f.OrderSettlementAmount)),
RestAmountUSD = SqlFunc.Subqueryable<FeeRecord>().Where(f => f.Id == d.RecordId && f.FeeStatus == FeeStatus.AuditPassed
&& f.Currency == USD_CODE).Select(f => SqlFunc.AggregateSum(f.Amount - f.SettlementAmount - f.OrderAmount + f.OrderSettlementAmount)),
RestAmountOther = SqlFunc.Subqueryable<FeeRecord>().Where(f => f.Id == d.RecordId && f.FeeStatus == FeeStatus.AuditPassed
&& f.Currency != RMB_CODE && f.Currency != USD_CODE).Select(f => SqlFunc.AggregateSum(f.Amount - f.SettlementAmount - f.OrderAmount + f.OrderSettlementAmount))
});
return TenantDb.UnionAll(new List<ISugarQueryable<PaymentApplicationDto>> { query1 });
}
/// <summary>
/// 获取待付费的业务列表(编辑用)
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public async Task<DataResult<List<FeeApplicationBiz>>> GetBizListAsync(PageRequest request)
public async Task<DataResult<List<ApplicationBiz>>> GetBizListAsync(PageRequest request)
{
var queryList = CreateBizQuery();
@ -63,21 +126,22 @@ namespace DS.WMS.Core.Application.Method
}
//创建各项业务数据的查询并集
internal ISugarQueryable<FeeApplicationBiz> CreateBizQuery()
internal ISugarQueryable<ApplicationBiz> CreateBizQuery()
{
//海运出口
var query1 = TenantDb.Queryable<SeaExport>().InnerJoin<FeeRecord>((s, f) => s.Id == f.BusinessId && f.BusinessType == BusinessType.OceanShippingExport)
var query1 = TenantDb.Queryable<SeaExport>()
.InnerJoin<FeeRecord>((s, f) => s.Id == f.BusinessId && f.BusinessType == BusinessType.OceanShippingExport)
.Where((s, f) => f.FeeStatus == FeeStatus.AuditPassed)
.GroupBy((s, f) => s.Id)
.Select((s, f) => new FeeApplicationBiz
.Select((s, f) => new ApplicationBiz
{
Id = s.Id,
AccountDate = s.AccountDate,
BusinessType = BusinessType.OceanShippingExport,
CntrTotal = s.CntrTotal,
CreateBy = s.CreateBy,
CustomerId = s.CustomerId,
CustomerName = s.CustomerName,//委托单位
CustomerId = s.CustomerId,//费用对象
CustomerName = s.CustomerName,
DischargePort = s.DischargePort,
ETD = s.ETD,
HBLNO = s.HBLNO,
@ -85,7 +149,6 @@ namespace DS.WMS.Core.Application.Method
MBLNO = s.MBLNO,
OperatorId = s.OperatorId,
SaleDeptId = s.SaleDeptId,
//SaleDeptName //所属部门
SaleId = s.SaleId,
SaleName = s.Sale,//揽货人
Vessel = s.Vessel,//船名
@ -97,7 +160,7 @@ namespace DS.WMS.Core.Application.Method
Currency = f.Currency,
IsAdvancedPay = f.IsAdvancedPay,
IsInvoice = f.IsInvoice,
//统计项
UnpaidRMB = SqlFunc.Subqueryable<FeeRecord>().Where(f => f.BusinessId == s.Id && f.FeeStatus == FeeStatus.AuditPassed &&
f.FeeType == FeeType.Payable && f.Currency == "CNY").Select(f => SqlFunc.AggregateSumNoNull(f.Amount.Value)),
UnpaidUSD = SqlFunc.Subqueryable<FeeRecord>().Where(f => f.BusinessId == s.Id && f.FeeStatus == FeeStatus.AuditPassed &&
@ -119,7 +182,7 @@ namespace DS.WMS.Core.Application.Method
//海运进口
return TenantDb.UnionAll(new List<ISugarQueryable<FeeApplicationBiz>> { query1 });
return TenantDb.UnionAll(new List<ISugarQueryable<ApplicationBiz>> { query1 });
}
/// <summary>
@ -168,68 +231,6 @@ namespace DS.WMS.Core.Application.Method
return DataResult<FeeDto>.Success(new FeeDto(list));
}
/// <summary>
/// 获取分页列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public async Task<DataResult<List<PaymentApplicationDto>>> GetListAsync(PageRequest<PaymentApplicationListQuery> request)
{
var exp1 = Expressionable.Create<PaymentApplication>()
.AndIF(!request.QueryCondition.ApplicaitionNO.IsNullOrEmpty(), x => x.ApplicationNO.Contains(request.QueryCondition.ApplicaitionNO))
.AndIF(request.QueryCondition.CustomerId.HasValue, x => x.CustomerId == request.QueryCondition.CustomerId.Value)
.AndIF(request.QueryCondition.Status.HasValue, x => x.Status == request.QueryCondition.Status.Value)
.AndIF(request.QueryCondition.PaymentDateStart.HasValue, x => request.QueryCondition.PaymentDateStart.Value >= x.PaymentDate)
.AndIF(request.QueryCondition.PaymentDateEnd.HasValue, x => request.QueryCondition.PaymentDateEnd.Value <= x.PaymentDate)
.AndIF(request.QueryCondition.CreateBy.HasValue, x => x.CreateBy == request.QueryCondition.CreateBy.Value)
.ToExpression();
var result = await TenantDb.Queryable<PaymentApplication>().Where(exp1)
.InnerJoin<ApplicationDetail>((a, d) => a.Id == d.ApplicationId)
.LeftJoin<SeaExport>((a, d, s) => d.BusinessId == s.Id)
.WhereIF(!request.QueryCondition.BillNO.IsNullOrEmpty(), (a, d, s) => s.CustomerNo.Contains(request.QueryCondition.BillNO))
.Select((a, d, s) => new PaymentApplicationDto
{
Id = a.Id,
ApplicationNO = a.ApplicationNO,
CustomerId = a.CustomerId,
CustomerName = a.CustomerName,
AmountOther = a.AmountOther,
AmountRMB = a.AmountRMB,
AmountUSD = a.AmountUSD,
SaleDeptId = a.SaleDeptId,
CreateBy = a.CreateBy,
CreateTime = a.CreateTime,
Currency = a.Currency,
ExchangeRate = a.ExchangeRate,
Reason = a.Reason,
Status = a.Status,
AuditerId = a.AuditerId,
AuditerName = a.AuditerName,
AuditTime = a.AuditTime,
IsInvoiceReceived = a.IsInvoiceReceived,
Client = s.CustomerName,
IsPrinted = a.IsPrinted,
PrintTimes = a.PrintTimes,
InvoiceAmount = a.InvoiceAmount,
InvoiceDate = a.InvoiceDate,
InvoiceNO = a.InvoiceNO,
CustomerBank = a.CustomerBank,
SettlementType = a.SettlementType,
PaymentDate = a.PaymentDate,
Note = a.Note,
//汇总项
RestAmountRMB = SqlFunc.Subqueryable<FeeRecord>().Where(f => f.Id == d.RecordId && f.FeeStatus == FeeStatus.AuditPassed
&& f.Currency == RMB_CODE).Select(f => SqlFunc.AggregateSum(f.Amount - f.SettlementAmount - f.OrderAmount + f.OrderSettlementAmount)),
RestAmountUSD = SqlFunc.Subqueryable<FeeRecord>().Where(f => f.Id == d.RecordId && f.FeeStatus == FeeStatus.AuditPassed
&& f.Currency == USD_CODE).Select(f => SqlFunc.AggregateSum(f.Amount - f.SettlementAmount - f.OrderAmount + f.OrderSettlementAmount)),
RestAmountOther = SqlFunc.Subqueryable<FeeRecord>().Where(f => f.Id == d.RecordId && f.FeeStatus == FeeStatus.AuditPassed
&& f.Currency != RMB_CODE && f.Currency != USD_CODE).Select(f => SqlFunc.AggregateSum(f.Amount - f.SettlementAmount - f.OrderAmount + f.OrderSettlementAmount))
}).GroupBy(a => new { a.Id }).ToQueryPageAsync(request.PageCondition);
return result;
}
/// <summary>
/// 获取申请单详情
/// </summary>

@ -4,83 +4,6 @@ using Masuit.Tools.Systems;
namespace DS.WMS.Core.Fee.Dtos
{
/// <summary>
/// 费用审批查询条件
/// </summary>
//public class FeeAuditQuery
//{
// /// <summary>
// /// 业务类型
// /// </summary>
// public BusinessType BusinessType { get; set; }
// /// <summary>
// /// 委托编号
// /// </summary>
// public string CustomerNo { get; set; }
// /// <summary>
// /// 船名
// /// </summary>
// public string Vessel { get; set; }
// /// <summary>
// /// 航次
// /// </summary>
// public string Voyage { get; set; }
// /// <summary>
// /// 国外代理ID
// /// </summary>
// public long? AgencyId { get; set; }
// /// <summary>
// /// 结算对象
// /// </summary>
// public long? FeeCustomerId { get; set; }
// /// <summary>
// /// 运输类型
// /// </summary>
// public string ShipmentType { get; set; }
// /// <summary>
// /// 揽货人
// /// </summary>
// public long? SaleId { get; set; }
// /// <summary>
// /// 委托单位
// /// </summary>
// public long? CustomerId { get; set; }
// /// <summary>
// /// 业务日期
// /// </summary>
// public DateTime? BusinessDate { get; set; }
// /// <summary>
// /// 费用名称ID
// /// </summary>
// public long? FeeId { get; set; }
// /// <summary>
// /// 业务来源
// /// </summary>
// public long? SourceId { get; set; }
// /// <summary>
// /// 会计期间
// /// </summary>
// public string? AccountDate { get; set; }
// /// <summary>
// /// 操作员
// /// </summary>
// public long? OperatorId { get; set; }
//}
public class FeeAuditBusiness
{
/// <summary>
@ -411,14 +334,11 @@ namespace DS.WMS.Core.Fee.Dtos
/// 业务日期
/// </summary>
public DateTime? BusinessDate { get; set; }
}
public class FeeAuditBusinessQuery : FeeAuditBusiness
{
/// <summary>
/// 国外代理ID
/// </summary>
public long? AgencyId { get; set; }
public long? AgentId { get; set; }
/// <summary>
/// 费用名称ID
@ -426,7 +346,6 @@ namespace DS.WMS.Core.Fee.Dtos
public long? FeeId { get; set; }
}
/// <summary>
/// 费用记录查询结果
/// </summary>

@ -92,7 +92,7 @@ namespace DS.WMS.Core.Fee.Method
}
//创建各项费用数据的查询并集
internal ISugarQueryable<FeeAuditBusinessQuery> CreateQuery(List<FlowInstance>? additions)
internal ISugarQueryable<FeeAuditBusiness> CreateQuery(List<FlowInstance>? additions)
{
//海运出口
var ids1 = additions?.Where(x => x.BusinessType == BusinessType.OceanShippingExport).Select(x => x.BusinessId).ToArray();
@ -104,7 +104,7 @@ namespace DS.WMS.Core.Fee.Method
))
.WhereIF(ids1 != null && ids1.Length > 0, (s, b, f) => ids1.Contains(f.Id))
.GroupBy(s => s.Id)
.Select((s, b, f, cs, csd) => new FeeAuditBusinessQuery
.Select((s, b, f, cs, csd) => new FeeAuditBusiness
{
Id = s.Id,
AccountDate = s.AccountDate,
@ -116,7 +116,7 @@ namespace DS.WMS.Core.Fee.Method
BLType = s.BLType,
CargoId = s.CargoId,
Carrier = s.Carrier,
AgencyId = s.AgentId,
AgentId = s.AgentId,
CBM = s.CBM,
CntrTotal = s.CntrTotal,
ContractNo = s.ContractNo,
@ -164,7 +164,7 @@ namespace DS.WMS.Core.Fee.Method
TransitTerms = s.Service,//运输条款
Vessel = s.Vessel,//船名
Voyage = s.Voyno,//航次
Yard = s.Yard
Yard = s.Yard,
//BusinessUnit = //经营单位
//ChangeOrder //更改单
//ChangeReason //更改单更改原因
@ -177,7 +177,7 @@ namespace DS.WMS.Core.Fee.Method
//海运进口
//var ids2 = additions?.Where(x => x.BusinessType == BusinessType.OceanShippingImport).Select(x => x.BusinessId).ToArray();
return TenantDb.UnionAll(new List<ISugarQueryable<FeeAuditBusinessQuery>> { query1 });
return TenantDb.UnionAll(new List<ISugarQueryable<FeeAuditBusiness>> { query1 });
}
/// <summary>
@ -228,7 +228,7 @@ namespace DS.WMS.Core.Fee.Method
}
//创建各项业务数据的查询并集
internal ISugarQueryable<FeeAuditBusinessQuery> CreateBizQuery(List<FlowInstance>? additions)
internal ISugarQueryable<FeeAuditBusiness> CreateBizQuery(List<FlowInstance>? additions)
{
//海运出口
var ids1 = additions?.Where(x => x.BusinessType == BusinessType.OceanShippingExport).Select(x => x.BusinessId).ToArray();
@ -240,7 +240,7 @@ namespace DS.WMS.Core.Fee.Method
))
.WhereIF(ids1 != null && ids1.Length > 0, (s, b) => ids1.Contains(s.Id))
.GroupBy(s => s.Id)
.Select((s, b, f, cs, csd) => new FeeAuditBusinessQuery
.Select((s, b, f, cs, csd) => new FeeAuditBusiness
{
Id = s.Id,
AccountDate = s.AccountDate,
@ -252,7 +252,7 @@ namespace DS.WMS.Core.Fee.Method
BLType = s.BLType,
CargoId = s.CargoId,
Carrier = s.Carrier,
AgencyId = s.AgentId,
AgentId = s.AgentId,
CBM = s.CBM,
CntrTotal = s.CntrTotal,
ContractNo = s.ContractNo,
@ -313,7 +313,7 @@ namespace DS.WMS.Core.Fee.Method
//海运进口
return TenantDb.UnionAll(new List<ISugarQueryable<FeeAuditBusinessQuery>> { query1 });
return TenantDb.UnionAll(new List<ISugarQueryable<FeeAuditBusiness>> { query1 });
}
/// <summary>

@ -32,7 +32,7 @@ namespace DS.WMS.FeeApi.Controllers
/// <param name="request"></param>
/// <returns></returns>
[HttpPost, Route("GetList")]
public async Task<DataResult<List<PaymentApplicationDto>>> ListAsync([FromBody] PageRequest<PaymentApplicationListQuery> request)
public async Task<DataResult<List<PaymentApplicationDto>>> ListAsync([FromBody] PageRequest request)
{
return await _service.GetListAsync(request);
}
@ -43,7 +43,7 @@ namespace DS.WMS.FeeApi.Controllers
/// <param name="request"></param>
/// <returns></returns>
[HttpPost, Route("GetBizList")]
public async Task<DataResult<List<FeeApplicationBiz>>> BizListAsync([FromBody] PageRequest request)
public async Task<DataResult<List<ApplicationBiz>>> BizListAsync([FromBody] PageRequest request)
{
return await _service.GetBizListAsync(request);
}

@ -1482,3 +1482,17 @@
2024-06-21 11:13:53.1421 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-21 11:13:53.1421 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-21 11:13:53.1421 Info Configuration initialized.
2024-06-21 11:33:59.5672 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-06-21 11:33:59.6168 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-06-21 11:33:59.6168 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-06-21 11:33:59.6284 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-21 11:33:59.6284 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-21 11:33:59.6284 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-21 11:33:59.6284 Info Configuration initialized.
2024-06-21 13:36:22.2441 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-06-21 13:36:22.2738 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-06-21 13:36:22.2738 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-06-21 13:36:22.2871 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-21 13:36:22.2871 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-21 13:36:22.2945 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-06-21 13:36:22.2945 Info Configuration initialized.

Loading…
Cancel
Save