发票申请状态文本设置为非DB属性

dev
嵇文龙 2 months ago
parent 1a5b0919fd
commit f5abbf9962

@ -32,7 +32,7 @@ namespace DS.WMS.Core.Application.Entity
/// <summary>
/// 状态文本
/// </summary>
[SugarColumn(ColumnDescription = "状态文本")]
[SugarColumn(IsIgnore = true)]
public string StatusText => Status.GetDescription();
/// <summary>

@ -5,7 +5,6 @@ using DS.Module.Core.Extensions;
using DS.WMS.Core.Application.Entity;
using DS.WMS.Core.Fee.Entity;
namespace DS.WMS.Core.Settlement.Method
{
/// <summary>
@ -26,7 +25,7 @@ namespace DS.WMS.Core.Settlement.Method
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public async Task<DataResult<List<InvoiceApplicationDto>>> GetListAsync(PageRequest request)
public async Task<DataResult<List<InvoiceApplicationDto>>> GetApplicationListAsync(PageRequest request)
{
var whereList = request.GetConditionalModels(Db);
var result = await TenantDb.Queryable<InvoiceApplication>()
@ -46,5 +45,7 @@ namespace DS.WMS.Core.Settlement.Method
return result;
}
}
}

Loading…
Cancel
Save