From 73436e8c2bdd8af813df060f2b35bc96ae055b7b Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期五, 28 三月 2025 15:47:17 +0800
Subject: [PATCH] 提交

---
 LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs |    5 +++++
 LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs     |   26 ++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs b/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs
index 3eb2d27..f42351d 100644
--- a/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs
+++ b/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs
@@ -1177,4 +1177,9 @@
     public string Name { get; set; }
 
     public string ChannlesNum { get; set; }
+}
+
+public class LifePayExpensesReceiptsListOutput
+{
+
 }
\ No newline at end of file
diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs
index 5f7f622..6f42071 100644
--- a/LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs
+++ b/LifePayment/LifePayment.Application/LifePay/LifePayOrderService.cs
@@ -100,6 +100,32 @@
             }
         }
 
+
+        //public async Task<LifePayExpensesReceiptsPageOutput<LifePayExpensesReceiptsListOutput>> GetLifePayExpensesReceiptsPage(LifePayExpensesReceiptsPageInput input)
+        //{
+        //    var list = await _lifePayExpensesReceiptsRepository.Where(x => x.IsDeleted == false)
+        //        .WhereIf(input.KeyWord.IsNotNullOrEmpty(), x => x.OrderNo.Contains(input.KeyWord))
+        //        .WhereIf(input.CreationTimeBegin.HasValue, x => x.CreationTime >= input.CreationTimeBegin)
+        //        .WhereIf(input.CreationTimeEnd.HasValue, x => x.CreationTime <= input.CreationTimeEnd)
+        //        .Select(x => new LifePayRechargeReceiptsListOutput()
+        //        {
+        //            Id = x.Id,
+        //            OrderNo = x.OrderNo,
+        //            RechargeAmount = x.RechargeAmount,
+        //            Remark = x.Remark,
+        //            Voucher = x.Voucher.GetOssPath(),
+        //            CreationTime = x.CreationTime,
+        //        })
+        //        .GetPageResult(input.PageModel);
+
+        //    var total = await _lifePayRechargeReceiptsRepository.Where(x => x.IsDeleted == false).SumAsync(x => x.RechargeAmount);
+        //    LifePayRechargeReceiptsPageOutput<LifePayRechargeReceiptsListOutput> result = new LifePayRechargeReceiptsPageOutput<LifePayRechargeReceiptsListOutput>();
+        //    result.Data = list.Data;
+        //    result.TotalRechargeAmount = total;
+        //    return result;
+        //}
+
+
         /// <summary>
         /// 鎻掑叆鏀舵敮娴佹按
         /// </summary>

--
Gitblit v1.9.1