fix 补充字段no

This commit is contained in:
2025-12-10 10:07:26 +08:00
parent 4dfccbdea3
commit 1f71b660c1
2 changed files with 4 additions and 0 deletions

View File

@@ -4,6 +4,8 @@ namespace Dlhis.Canteen.Voucher.Response;
public class VoucherPageResponse
{
public string No { get; set; }
/// <summary>
/// 券类型
/// </summary>

View File

@@ -37,6 +37,8 @@ public abstract class BaseVoucherService : IVoucherService
.OrderByDescending(x => x.ClaimDateTime)
.Select((x, u, ga) => new VoucherPageResponse
{
No = x.No,
Type = x.Type,
UserCode = u.UserCode,
UserName = ga.Name,