补充末次合作时间

dev
嵇文龙 2 months ago
parent 65001546b5
commit 4f6e7ffa05

@ -4,7 +4,6 @@ using DS.Module.Core.Enums;
using DS.Module.Core.Extensions;
using DS.WMS.Core.Info.Entity;
using Masuit.Tools.Systems;
using SqlSugar;
namespace DS.WMS.Core.Info.Dtos;
@ -418,6 +417,11 @@ public class ClientInfoRes
/// </summary>
public bool IsSupplier { get; set; }
/// <summary>
/// 末期合作时间
/// </summary>
public DateTime? ETD { get; set; }
/// <summary>
/// 客户等级A/B/C/D
/// </summary>

@ -418,6 +418,12 @@ public class InfoClient : SharedOrgModel<long>
[SugarColumn(ColumnDescription = "是否为供应商")]
public bool IsSupplier { get; set; }
/// <summary>
/// 末期合作时间
/// </summary>
[SugarColumn(ColumnDescription = "末期合作时间", IsNullable = true)]
public DateTime? ETD { get; set; }
/// <summary>
/// 客户等级A/B/C/D
/// </summary>

@ -403,7 +403,7 @@ public class ClientInfoService : ServiceBase, IClientInfoService
data.ServiceItem = data.ServiceItem ?? string.Empty;
var updateable = TenantDb.Updateable(data).RemoveDataCache($"{SqlSugarCacheConst.InfoClient}{User.TenantId}")
.IgnoreColumns(ignoreAllNullColumns: true)
.IgnoreColumns(x => new { x.Status, x.AuditStatus, x.AuditNote, x.AuditTime });
.IgnoreColumns(x => new { x.Status, x.ETD, x.AuditStatus, x.AuditNote, x.AuditTime });
var list = (await GetUsageAsync(req.Id))?.Data;
if (list != null && list.Exists(x => x.Id == req.Id && x.IsUsed))

@ -1,4 +1,5 @@
using DS.WMS.Core.Application.Dtos;
using DS.WMS.Core.Fee.Dtos;
using DS.WMS.Core.Settlement.Entity;
namespace DS.WMS.Core.Settlement.Dtos
@ -14,10 +15,29 @@ namespace DS.WMS.Core.Settlement.Dtos
public TEntity Settlement { get; set; }
/// <summary>
/// 结算费用明细
/// 结算费用明细(付费申请结算用)
/// </summary>
public List<PaymentApplicationDetailDto>? Details { get; set; }
//public List<PaymentApplicationDtoV2> Applications { get; set; }
/// <summary>
/// 发票结算信息(发票结算用)
/// </summary>
public InvoiceSettlement[]? Invoices { get; set; }
}
/// <summary>
/// 发票结算信息
/// </summary>
public class InvoiceSettlement
{
/// <summary>
/// 发票ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 汇率信息当发票币别与结算币别一致时此字段可为null
/// </summary>
public ExchangeRate? ExchangeRate { get; set; }
}
}

Loading…
Cancel
Save