付费结算列表API签入

usertest
嵇文龙 4 months ago
parent 88264e5985
commit 95bcd131d3

@ -1,5 +1,4 @@
using System.ComponentModel;
using DS.Module.Core;
using DS.WMS.Core.Op.Entity;
namespace DS.WMS.Core.Fee.Dtos

@ -1,8 +1,7 @@
using DS.Module.Core.Enums;
using DS.WMS.Core.Application.Dtos;
using Masuit.Tools.Systems;
namespace DS.WMS.Core.Fee.Dtos
namespace DS.WMS.Core.Application.Dtos
{
/// <summary>
/// 付费申请单
@ -54,7 +53,7 @@ namespace DS.WMS.Core.Fee.Dtos
/// <summary>
/// 结算美元
/// </summary>
public decimal? SettlementRMBUSD { get; set; }
public decimal? SettlementUSD { get; set; }
/// <summary>
/// 结算其他币别
@ -76,6 +75,19 @@ namespace DS.WMS.Core.Fee.Dtos
/// </summary>
public decimal? RestAmountOther { get; set; }
/// <summary>
/// 未结人民币
/// </summary>
public decimal? UnSettlementRMB { get; set; }
/// <summary>
/// 未结美元
/// </summary>
public decimal? UnSettlementUSD { get; set; }
public long? SettlementTypeId { get; set; }
/// <summary>

@ -110,8 +110,8 @@ namespace DS.WMS.Core.Fee.Entity
/// <summary>
/// 数量
/// </summary>
[SugarColumn(ColumnDescription = "数量", IsNullable = true, Length = 18, DecimalDigits = 4, DefaultValue = "0")]
public decimal Quantity { get; set; }
[SugarColumn(ColumnDescription = "数量", IsNullable = true, Length = 10, DecimalDigits = 2, DefaultValue = "0")]
public decimal Quantity { get; set; } = 1m;
/// <summary>
/// 金额
/// </summary>
@ -277,7 +277,7 @@ namespace DS.WMS.Core.Fee.Entity
public decimal Tax { get; set; }
/// <summary>
/// 申请结算金额
/// 申请金额已结算
/// </summary>
[SugarColumn(ColumnDescription = "申请结算金额", Length = 18, DecimalDigits = 2, DefaultValue = "0")]
public decimal OrderSettlementAmount { get; set; }
@ -289,9 +289,9 @@ namespace DS.WMS.Core.Fee.Entity
public decimal TaxUnitPrice { get; set; }
/// <summary>
/// 申请发票开票金额
/// 申请发票金额已开票
/// </summary>
[SugarColumn(ColumnDescription = "申请发票开票金额", Length = 18, DecimalDigits = 3, DefaultValue = "0")]
[SugarColumn(ColumnDescription = "申请发票金额已开票", Length = 18, DecimalDigits = 3, DefaultValue = "0")]
public decimal OrderInvSettlementAmount { get; set; }
/// <summary>

@ -1,10 +1,29 @@
namespace DS.WMS.Core.Settlement.Dtos
using DS.WMS.Core.Application.Dtos;
using SqlSugar;
using System.Runtime.Serialization;
namespace DS.WMS.Core.Settlement.Dtos
{
/// <summary>
/// 付费结算
/// </summary>
public class PaymentSettlementDto : SettlementDto
{
/// <summary>
/// 人民币金额
/// </summary>
public decimal RMBAmount { get; set; }
/// <summary>
/// 美元金额
/// </summary>
public decimal USDAmount { get; set; }
/// <summary>
/// 其他币别金额
/// </summary>
public decimal OtherAmount { get; set; }
/// <summary>
/// 记账资料币别
/// </summary>
@ -22,17 +41,17 @@
/// <summary>
/// 预支资料币别
/// 预支资料币别
/// </summary>
public string? PrePayCurrency { get; set; }
/// <summary>
/// 预支资料汇率
/// 预支资料汇率
/// </summary>
public decimal? PrePayRate { get; set; }
/// <summary>
/// 预支资料金额
/// 预支资料金额
/// </summary>
public decimal? PrePayAmount { get; set; }
@ -83,5 +102,48 @@
/// 预收支支取金额
/// </summary>
public decimal? AdvanceAmount { get; set; }
[IgnoreDataMember]
public List<CurrencyAmount> UnInvoiceList { get; set; }
/// <summary>
/// 未开票金额
/// </summary>
public string UnInvoiceAmount => string.Join(" ", UnInvoiceList);
/// <summary>
/// 是否导出凭证
/// </summary>
public bool IsExportVoucher { get; set; }
/// <summary>
/// 总账凭证号
/// </summary>
public string? LedgerVoucherNO { get; set; }
/// <summary>
/// 是否禁用凭证
/// </summary>
public bool IsVoucherDisabled { get; set; }
/// <summary>
/// 是否生成支票
/// </summary>
public bool IsGenerateCheck { get; set; }
/// <summary>
/// 发票号
/// </summary>
public string? InvoiceNO { get; set; }
/// <summary>
/// 发票日期
/// </summary>
public DateTime? InvoiceDate { get; set; }
/// <summary>
/// 开票金额
/// </summary>
public decimal? InvoiceAmount { get; set; }
}
}

@ -41,7 +41,7 @@ namespace DS.WMS.Core.Settlement.Dtos
public string? CustomerBank { get; set; }
/// <summary>
/// 客户银行
/// 客户结算账户
/// </summary>
public string? CustomerAccount { get; set; }
@ -51,9 +51,19 @@ namespace DS.WMS.Core.Settlement.Dtos
public string? Currency { get; set; }
/// <summary>
/// 单据日期
/// 结算金额
/// </summary>
public decimal Amount { get; set; }
/// <summary>
/// 原始金额
/// </summary>
public DateTime ApplicationDate { get; set; }
public string OriginalAmount => string.Concat(Currency, Amount);
/// <summary>
/// 结算日期
/// </summary>
public DateTime SettlementDate { get; set; }
/// <summary>
/// 结算方式ID
@ -80,32 +90,58 @@ namespace DS.WMS.Core.Settlement.Dtos
public string BillTypeText => BillType.GetDescription();
/// <summary>
/// 结算金额
/// 结算银行账户
/// </summary>
public decimal Amount { get; set; }
public string? Account { get; set; }
/// <summary>
/// 结算银行账户
/// 结算业务类别
/// </summary>
public string? Account { get; set; }
public SettlementCategory? Category { get; set; }
public string? CategoryText => Category?.GetDescription();
/// <summary>
/// 是否锁定
/// </summary>
public bool IsLocked { get; set; }
[IgnoreDataMember]
public long? LockUserId { get; set; }
/// <summary>
/// 结算业务类别
/// 锁定用户
/// </summary>
public SettlementCategory? Category { get; set; }
public string? LockUser { get; set; }
public string? CategoryText => Category?.GetDescription();
/// <summary>
/// 锁定时间
/// </summary>
public DateTime? LockTime { get; set; }
[IgnoreDataMember]
public long? UnlockUserId { get; set; }
/// <summary>
/// 相关号码
/// 解锁用户
/// </summary>
public string? UnlockUser { get; set; }
/// <summary>
/// 解锁时间
/// </summary>
public DateTime? UnlockTime { get; set; }
/// <summary>
/// 结算单号
/// </summary>
public string? SettlementNO { get; set; }
/// <summary>
/// 相关号码
/// </summary>
public string? RelativeNO { get; set; }
/// <summary>
/// 所属机构公司ID
/// </summary>
@ -132,5 +168,18 @@ namespace DS.WMS.Core.Settlement.Dtos
/// 备注
/// </summary>
public string? Note { get; set; }
[IgnoreDataMember]
public long CreateBy { get; set; }
/// <summary>
/// 创建人/结算人
/// </summary>
public string? CreateByName { get; set; }
/// <summary>
/// 创建日期
/// </summary>
public DateTime CreateTime { get; set; }
}
}

@ -8,6 +8,11 @@ namespace DS.WMS.Core.Settlement.Entity
[SugarTable("application_payment_settlement", TableDescription = "付费结算")]
public class PaymentSettlement : SettlementBase
{
/// <summary>
/// 汇率
/// </summary>
[SugarColumn(ColumnDescription = "汇率", IsNullable = true)]
public decimal? ExchangeRate { get; set; }
/// <summary>
/// 记账资料币别
@ -29,21 +34,21 @@ namespace DS.WMS.Core.Settlement.Entity
/// <summary>
/// 预支资料币别
/// 预支资料币别
/// </summary>
[SugarColumn(ColumnDescription = "预支资料币别", IsNullable = true, Length = 3)]
[SugarColumn(ColumnDescription = "预支资料币别", IsNullable = true, Length = 3)]
public string? PrePayCurrency { get; set; }
/// <summary>
/// 预支资料汇率
/// 预支资料汇率
/// </summary>
[SugarColumn(ColumnDescription = "预支资料汇率", IsNullable = true)]
[SugarColumn(ColumnDescription = "预支资料汇率", IsNullable = true)]
public decimal? PrePayRate { get; set; }
/// <summary>
/// 预支资料金额
/// 预支资料金额
/// </summary>
[SugarColumn(ColumnDescription = "预支资料金额", IsNullable = true)]
[SugarColumn(ColumnDescription = "预支资料金额", IsNullable = true)]
public decimal? PrePayAmount { get; set; }
@ -102,5 +107,17 @@ namespace DS.WMS.Core.Settlement.Entity
/// </summary>
[SugarColumn(ColumnDescription = "预收支支取金额", IsNullable = true)]
public decimal? AdvanceAmount { get; set; }
/// <summary>
/// 是否禁用凭证
/// </summary>
[SugarColumn(ColumnDescription = "是否禁用凭证", IsNullable = false, DefaultValue = "0")]
public bool IsVoucherDisabled { get; set; }
/// <summary>
/// 总账凭证号
/// </summary>
[SugarColumn(ColumnDescription = "总账凭证号", IsNullable = true, Length = 50)]
public string? LedgerVoucherNO { get; set; }
}
}

@ -11,10 +11,16 @@ namespace DS.WMS.Core.Settlement.Entity
public class SettlementBase : ApplicationBase
{
/// <summary>
/// 单据日期
/// 结算单号
/// </summary>
[SugarColumn(ColumnDescription = "单据日期", IsNullable = false)]
public DateTime ApplicationDate { get; set; }
[SugarColumn(ColumnDescription = "结算单号", Length = 50, IsNullable = true)]
public string? SettlementNO { get; set; }
/// <summary>
/// 结算日期
/// </summary>
[SugarColumn(ColumnDescription = "结算日期", IsNullable = false)]
public DateTime SettlementDate { get; set; }
/// <summary>
/// 结算方式
@ -49,6 +55,12 @@ namespace DS.WMS.Core.Settlement.Entity
[SugarColumn(ColumnDescription = "结算银行账户", Length = 50, IsNullable = true)]
public string? Account { get; set; }
/// <summary>
/// 结算业务类别
/// </summary>
[SugarColumn(ColumnDescription = "结算业务类别", IsNullable = true)]
public SettlementCategory? Category { get; set; }
/// <summary>
/// 是否锁定
/// </summary>
@ -56,16 +68,28 @@ namespace DS.WMS.Core.Settlement.Entity
public bool IsLocked { get; set; }
/// <summary>
/// 结算业务类别
/// 锁定用户
/// </summary>
[SugarColumn(ColumnDescription = "结算业务类别", IsNullable = true)]
public SettlementCategory? Category { get; set; }
[SugarColumn(ColumnDescription = "锁定用户", IsNullable = true)]
public long? LockUserId { get; set; }
/// <summary>
/// 相关号码
/// 锁定时间
/// </summary>
[SugarColumn(ColumnDescription = "相关号码", Length = 50, IsNullable = true)]
public string? SettlementNO { get; set; }
[SugarColumn(ColumnDescription = "锁定时间", IsNullable = true)]
public DateTime? LockTime { get; set; }
/// <summary>
/// 解锁用户
/// </summary>
[SugarColumn(ColumnDescription = "解锁用户", IsNullable = true)]
public long? UnlockUserId { get; set; }
/// <summary>
/// 解锁时间
/// </summary>
[SugarColumn(ColumnDescription = "解锁时间", IsNullable = true)]
public DateTime? UnlockTime { get; set; }
/// <summary>
/// 所属机构(公司)

@ -0,0 +1,27 @@
using DS.Module.Core;
using DS.WMS.Core.Application.Dtos;
using DS.WMS.Core.Settlement.Dtos;
using DS.WMS.Core.Settlement.Entity;
namespace DS.WMS.Core.Settlement.Interface
{
/// <summary>
/// 付费结算
/// </summary>
public interface IPaymentSettlementService : ISettlementService<PaymentSettlement>
{
/// <summary>
/// 获取分页列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
Task<DataResult<List<PaymentSettlementDto>>> GetListAsync(PageRequest request);
/// <summary>
/// 获取付费申请分页列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
Task<DataResult<List<PaymentApplicationDto>>> GetApplicationListAsync(PageRequest request);
}
}

@ -1,11 +1,21 @@
using DS.WMS.Core.Settlement.Entity;
using DS.Module.Core;
using DS.Module.Core.Enums;
using DS.Module.Core.Extensions;
using DS.WMS.Core.Application.Dtos;
using DS.WMS.Core.Application.Entity;
using DS.WMS.Core.Fee.Entity;
using DS.WMS.Core.Settlement.Dtos;
using DS.WMS.Core.Settlement.Entity;
using DS.WMS.Core.Settlement.Interface;
using DS.WMS.Core.Sys.Entity;
using SqlSugar;
namespace DS.WMS.Core.Settlement.Method
{
/// <summary>
/// 付费结算服务
/// </summary>
public class PaymentSettlementService : SettlementService<PaymentSettlement>
public class PaymentSettlementService : SettlementService<PaymentSettlement>, IPaymentSettlementService
{
/// <summary>
/// 初始化
@ -15,6 +25,157 @@ namespace DS.WMS.Core.Settlement.Method
{
}
/// <summary>
/// 获取分页列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public async Task<DataResult<List<PaymentSettlementDto>>> GetListAsync(PageRequest request)
{
var query = TenantDb.Queryable<PaymentSettlement>().Select(x => new PaymentSettlementDto
{
Id = x.Id,
ApplicationNO = x.ApplicationNO, //申请编号
SettlementNO = x.SettlementNO, //结算单号
CustomerId = x.CustomerId, //结算单位
CustomerName = x.CustomerName,
Mode = x.Mode, //结算类型
SettlementTypeName = x.SettlementType.StlName, //结算方式
RMBAmount = SqlFunc.Subqueryable<ApplicationDetail>().Where(y => y.ApplicationId == x.Id && y.Currency == RMB_CODE)
.Select(y => SqlFunc.AggregateSum(y.ApplyAmount)),
USDAmount = SqlFunc.Subqueryable<ApplicationDetail>().Where(y => y.ApplicationId == x.Id && y.Currency == USD_CODE)
.Select(y => SqlFunc.AggregateSum(y.ApplyAmount)),
OtherAmount = SqlFunc.Subqueryable<ApplicationDetail>().Where(y => y.ApplicationId == x.Id && y.Currency != RMB_CODE && y.Currency != USD_CODE)
.Select(y => SqlFunc.AggregateSum(y.ApplyAmount)),
Note = x.Note, //备注
CustomerAccount = x.CustomerBank.AccountName + "/" + x.CustomerBank.Currency,
CustomerBank = x.CustomerBank.BankName,
//未开票
UnInvoiceList = SqlFunc.Subqueryable<ApplicationDetail>().InnerJoin<FeeRecord>((d, f) => d.RecordId == f.Id && (f.Amount - f.InvoiceAmount - f.OrderInvoiceAmount) != 0)
.GroupBy((d, f) => f.Currency).ToList((d, f) => new CurrencyAmount { Currency = f.Currency, Amount = f.Amount - f.InvoiceAmount - f.OrderInvoiceAmount }),
CreateBy = x.CreateBy, //结算人
CreateTime = x.CreateTime, //创建日期
SettlementDate = x.SettlementDate, //结算日期
IsExportVoucher = default, //是否导出凭证
Currency = x.Currency, //币别
Amount = x.Amount, //原始金额
AccountAmount = x.AccountAmount, //记账资料
PrePayAmount = x.PrePayAmount, //预付支资料
AHSRAmount = x.AHSRAmount, //实收支资料
FinancialAmount = x.FinancialAmount,//财务费用
AdvanceAmount = x.AdvanceAmount, //预收支资料
IsLocked = x.IsLocked, //锁定状态
LockTime = x.LockTime,
LockUserId = x.LockUserId,
UnlockTime = x.UnlockTime,
UnlockUserId = x.UnlockUserId,
IsVoucherDisabled = x.IsVoucherDisabled, //禁用凭证
SaleDeptId = x.SaleDeptId, //所属分部
LedgerVoucherNO = x.LedgerVoucherNO //总账凭证号
//BillType = x.BillType, //单据类型
//Category = x.Category, //业务类别
});
if (!request.QueryCondition.IsNullOrEmpty())
{
var whereList = Db.ConfigQuery.Context.Utilities.JsonToConditionalModels(request.QueryCondition);
query = query.Where(whereList);
}
var result = await query.ToQueryPageAsync(request.PageCondition);
if (result.Data.Count > 0)
{
//关联用户名称
var userIds = result.Data.Select(x => x.CreateBy)
.Union(result.Data.Where(x => x.LockUserId.HasValue).Select(x => x.LockUserId.Value))
.Union(result.Data.Where(x => x.UnlockUserId.HasValue).Select(x => x.UnlockUserId.Value))
.Distinct();
var users = await Db.Queryable<SysUser>().Where(x => userIds.Contains(x.Id)).Select(x => new { x.Id, x.UserName }).ToListAsync();
var orgIds = result.Data.Select(x => x.SaleDeptId).Distinct().ToList();
var orgs = await Db.Queryable<SysOrg>().Where(x => orgIds.Contains(x.Id)).Select(x => new { x.Id, x.OrgName }).ToListAsync();
foreach (var item in result.Data)
{
item.CreateByName = users.Find(x => x.Id == item.CreateBy)?.UserName;
item.LockUser = users.Find(x => x.Id == item.LockUserId)?.UserName;
item.UnlockUser = users.Find(x => x.Id == item.UnlockUserId)?.UserName;
item.SaleDeptName = orgs.Find(x => x.Id == item.SaleDeptId)?.OrgName;
}
}
return result;
}
/// <summary>
/// 获取付费申请分页列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public async Task<DataResult<List<PaymentApplicationDto>>> GetApplicationListAsync(PageRequest request)
{
var query = TenantDb.Queryable<PaymentApplication>().Where(x => x.Status == PaymentApplicationStatus.AuditPassed)
.InnerJoin<ApplicationDetail>((a, d) => a.Id == d.ApplicationId)
//未结算金额=(金额-已结算金额-申请金额+申请金额已结算) != 0
.InnerJoin<FeeRecord>((a, d, f) => d.RecordId == f.Id && (f.Amount - f.SettlementAmount - d.ApplyAmount + f.OrderSettlementAmount) != 0)
.Select(a => new PaymentApplicationDto
{
Id = a.Id,
ApplicationNO = a.ApplicationNO,
Status = a.Status,
CustomerId = a.CustomerId,
CustomerName = a.CustomerName, //结算单位
CustomerBankId = a.CustomerBankId,
CustomerBank = a.CustomerBank.BankName, //结算对象银行
CustomerAccount = a.CustomerBank.Account, //结算对象账号
Currency = a.Currency,
AmountRMB = a.AmountRMB, //RMB申请金额
AmountUSD = a.AmountUSD, //USD申请金额
//RMB未结金额
UnSettlementRMB = SqlFunc.Subqueryable<ApplicationDetail>().InnerJoin<FeeRecord>((d, f) => d.RecordId == f.Id).Where(d => d.Currency == RMB_CODE)
.Select((d, f) => SqlFunc.AggregateSum(f.Amount - f.SettlementAmount - d.ApplyAmount + f.OrderSettlementAmount)),
//USD未结金额
UnSettlementUSD = SqlFunc.Subqueryable<ApplicationDetail>().InnerJoin<FeeRecord>((d, f) => d.RecordId == f.Id).Where(d => d.Currency == USD_CODE)
.Select((d, f) => SqlFunc.AggregateSum(f.Amount - f.SettlementAmount - d.ApplyAmount + f.OrderSettlementAmount)),
SaleDeptId = a.SaleDeptId, //所属分部
SettlementTypeId = a.SettlementTypeId,
SettlementTypeName = a.SettlementType.StlName, //结算方式
CreateBy = a.CreateBy, //申请人
CreateTime = a.CreateTime, //申请日期
PayAmount = 0, //审核实付金额
PaymentDate = a.PaymentDate, //申请支付日期
AuditerId = a.AuditerId,
AuditerName = a.AuditerName,
AuditTime = a.AuditTime,
Note = a.Note
});
if (!request.QueryCondition.IsNullOrEmpty())
{
var whereList = Db.ConfigQuery.Context.Utilities.JsonToConditionalModels(request.QueryCondition);
query = query.Where(whereList);
}
var result = await query.ToQueryPageAsync(request.PageCondition);
if (result.Data.Count > 0)
{
var userIds = result.Data.Select(x => x.CreateBy).Distinct();
var users = await Db.Queryable<SysUser>().Where(x => userIds.Contains(x.Id)).Select(x => new { x.Id, x.UserName }).ToListAsync();
var orgIds = result.Data.Select(x => x.SaleDeptId).Distinct().ToList();
var orgs = await Db.Queryable<SysOrg>().Where(x => orgIds.Contains(x.Id)).Select(x => new { x.Id, x.OrgName }).ToListAsync();
foreach (var item in result.Data)
{
item.CreateByName = users.Find(x => x.Id == item.CreateBy)?.UserName;
item.SaleDeptName = orgs.Find(x => x.Id == item.SaleDeptId)?.OrgName;
}
}
return result;
}
}
}

@ -0,0 +1,47 @@
using DS.Module.Core;
using DS.WMS.Core.Application.Dtos;
using DS.WMS.Core.Settlement.Dtos;
using DS.WMS.Core.Settlement.Interface;
using Microsoft.AspNetCore.Mvc;
namespace DS.WMS.FeeApi.Controllers
{
/// <summary>
/// 付费结算API
/// </summary>
public class PaymentSettlementController : ApiController
{
readonly IPaymentSettlementService _service;
/// <summary>
/// 初始化
/// </summary>
/// <param name="service"></param>
public PaymentSettlementController(IPaymentSettlementService service)
{
_service = service;
}
/// <summary>
/// 获取列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
[HttpPost, Route("GetList")]
public async Task<DataResult<List<PaymentSettlementDto>>> ListAsync([FromBody] PageRequest request)
{
return await _service.GetListAsync(request);
}
/// <summary>
/// 获取付费申请分页列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
[HttpPost, Route("GetApplicationList")]
public async Task<DataResult<List<PaymentApplicationDto>>> GetApplicationListAsync([FromBody] PageRequest request)
{
return await _service.GetApplicationListAsync(request);
}
}
}

@ -1958,3 +1958,45 @@
2024-07-02 14:18:16.0191 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-07-02 14:18:16.0295 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-07-02 14:18:16.0295 Info Configuration initialized.
2024-07-03 15:20:54.7040 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-07-03 15:20:54.7671 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-07-03 15:20:54.7671 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-07-03 15:20:54.7932 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-07-03 15:20:54.8011 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-07-03 15:20:54.8011 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-07-03 15:20:54.8141 Info Configuration initialized.
2024-07-03 15:24:23.2219 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-07-03 15:24:23.2678 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-07-03 15:24:23.2678 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-07-03 15:24:23.2889 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-07-03 15:24:23.2965 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-07-03 15:24:23.2965 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-07-03 15:24:23.3119 Info Configuration initialized.
2024-07-03 15:26:58.4109 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-07-03 15:26:58.4641 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-07-03 15:26:58.4690 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-07-03 15:26:58.4856 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-07-03 15:26:58.4856 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-07-03 15:26:58.4992 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-07-03 15:26:58.4992 Info Configuration initialized.
2024-07-03 17:10:02.2728 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-07-03 17:10:02.3138 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-07-03 17:10:02.3138 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-07-03 17:10:02.3338 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-07-03 17:10:02.3338 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-07-03 17:10:02.3442 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-07-03 17:10:02.3442 Info Configuration initialized.
2024-07-03 17:11:47.1928 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-07-03 17:11:47.2338 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-07-03 17:11:47.2338 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-07-03 17:11:47.2553 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-07-03 17:11:47.2626 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-07-03 17:11:47.2626 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-07-03 17:11:47.2626 Info Configuration initialized.
2024-07-03 17:13:05.0511 Info Registered target NLog.Targets.FileTarget(Name=allfile)
2024-07-03 17:13:05.1086 Info Registered target NLog.Targets.FileTarget(Name=ownFile-web)
2024-07-03 17:13:05.1086 Info Registered target NLog.Targets.ColoredConsoleTarget(Name=console)
2024-07-03 17:13:05.1349 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-07-03 17:13:05.1459 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-07-03 17:13:05.1459 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: allfile
2024-07-03 17:13:05.1607 Info Configuration initialized.

Loading…
Cancel
Save