From 57fb27ac6874642d190533df66aa087c6ec94813 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期五, 21 三月 2025 12:28:10 +0800 Subject: [PATCH] 退款订单列表 --- LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml | 60 ++++++++++++++++++++++++++++++ LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs | 4 - LifePayment/LifePayment.Domain/LifePay/DallyStatistics.cs | 5 -- LifePayment/LifePayment.Host/LifePaymentService.HttpApi.xml | 7 +++ LifePayment/LifePayment.Application/LifePay/LifePayService.cs | 7 ++- 5 files changed, 73 insertions(+), 10 deletions(-) diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs index 2755ca3..8005a7d 100644 --- a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs +++ b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs @@ -120,12 +120,13 @@ YesterdayFail = yesterdayFail.ToString(), AccumulatedUsers = accumulatedUsers.ToString(), }; - - return new TopStatisticsOutput(); + await _dallyStatisticsRepository.InsertAsync(entity); + var result = ObjectMapper.Map<DallyStatistics, TopStatisticsOutput>(entity); + return result; } else { - var result = ObjectMapper.Map<DallyStatistics,TopStatisticsOutput>(statistics); + var result = ObjectMapper.Map<DallyStatistics, TopStatisticsOutput>(statistics); return result; } } diff --git a/LifePayment/LifePayment.Domain/LifePay/DallyStatistics.cs b/LifePayment/LifePayment.Domain/LifePay/DallyStatistics.cs index 590a901..8907ba1 100644 --- a/LifePayment/LifePayment.Domain/LifePay/DallyStatistics.cs +++ b/LifePayment/LifePayment.Domain/LifePay/DallyStatistics.cs @@ -6,11 +6,8 @@ namespace LifePayment.Domain; -public partial class DallyStatistics : Entity<Guid> +public class DallyStatistics : Entity<Guid> { - public DallyStatistics() - { - } /// <summary> /// 缁熻鏃堕棿 diff --git a/LifePayment/LifePayment.Host/LifePaymentService.HttpApi.xml b/LifePayment/LifePayment.Host/LifePaymentService.HttpApi.xml index 1a8cd0d..7376fcf 100644 --- a/LifePayment/LifePayment.Host/LifePaymentService.HttpApi.xml +++ b/LifePayment/LifePayment.Host/LifePaymentService.HttpApi.xml @@ -130,6 +130,13 @@ <param name="input"></param> <returns></returns> </member> + <member name="M:LifePayment.HttpApi.LifePayController.GetLifePayRefundOrderPage(LifePayment.Application.Contracts.QueryLifePayRefundOrderListInput)"> + <summary> + 鑾峰彇璁㈠崟鍒嗛〉鏁版嵁 + </summary> + <param name="input"></param> + <returns></returns> + </member> <member name="M:LifePayment.HttpApi.LifePayController.GetLifePayOrderDetail(System.String)"> <summary> 鑾峰彇璁㈠崟璇︽儏 diff --git a/LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml b/LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml index 60c75bb..f5b4ebb 100644 --- a/LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml +++ b/LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml @@ -425,6 +425,11 @@ 鏀粯鐘舵�� </summary> </member> + <member name="P:LifePayment.Application.Contracts.QueryLifePayOrderListInput.ACOOLYStatus"> + <summary> + 渚涘簲鍟嗙姸鎬� + </summary> + </member> <member name="P:LifePayment.Application.Contracts.QueryLifePayOrderListInput.LifePayOrderStatus"> <summary> 璁㈠崟鐘舵�� @@ -450,6 +455,61 @@ 鎼滅储鍏抽敭璇� </summary> </member> + <member name="P:LifePayment.Application.Contracts.QueryLifePayRefundOrderListInput.LifePayOrderType"> + <summary> + 璁㈠崟绫诲瀷 + </summary> + </member> + <member name="P:LifePayment.Application.Contracts.QueryLifePayRefundOrderListInput.LifePayType"> + <summary> + 鐢熸椿缂磋垂鏀粯绫诲瀷 + </summary> + </member> + <member name="P:LifePayment.Application.Contracts.QueryLifePayRefundOrderListInput.BeginRefundApplyTime"> + <summary> + 寮�濮嬬敵璇烽��娆炬椂闂� + </summary> + </member> + <member name="P:LifePayment.Application.Contracts.QueryLifePayRefundOrderListInput.EndRefundApplyTime"> + <summary> + 缁撴潫鐢宠閫�娆炬椂闂� + </summary> + </member> + <member name="P:LifePayment.Application.Contracts.QueryLifePayRefundOrderListInput.BeginFinishTime"> + <summary> + 寮�濮嬪畬鎴愭椂闂� + </summary> + </member> + <member name="P:LifePayment.Application.Contracts.QueryLifePayRefundOrderListInput.EndFinishTime"> + <summary> + 缁撴潫瀹屾垚鏃堕棿 + </summary> + </member> + <member name="P:LifePayment.Application.Contracts.QueryLifePayRefundOrderListInput.PayStatus"> + <summary> + 鏀粯鐘舵�� + </summary> + </member> + <member name="P:LifePayment.Application.Contracts.QueryLifePayRefundOrderListInput.ACOOLYStatus"> + <summary> + 渚涘簲鍟嗙姸鎬� + </summary> + </member> + <member name="P:LifePayment.Application.Contracts.QueryLifePayRefundOrderListInput.LifePayOrderStatus"> + <summary> + 璁㈠崟鐘舵�� + </summary> + </member> + <member name="P:LifePayment.Application.Contracts.QueryLifePayRefundOrderListInput.UserId"> + <summary> + 鐢ㄦ埛Id + </summary> + </member> + <member name="P:LifePayment.Application.Contracts.QueryLifePayRefundOrderListInput.KeyWords"> + <summary> + 鎼滅储鍏抽敭璇� + </summary> + </member> <member name="P:LifePayment.Application.Contracts.RefundUserLifePayOrderInput.UserId"> <summary> 鐢ㄦ埛Id diff --git a/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs b/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs index 72c0935..845b691 100644 --- a/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs +++ b/LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs @@ -192,7 +192,7 @@ } /// <summary> - /// 鑾峰彇璁㈠崟鍒嗛〉鏁版嵁 + /// 鑾峰彇閫�娆捐鍗曞垎椤垫暟鎹� /// </summary> /// <param name="input"></param> /// <returns></returns> @@ -370,7 +370,6 @@ var bytes = ExcelHelper.ListToByteForExcel(data, "xlsx"); return File(bytes, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "璁㈠崟绠$悊" + ".xlsx"); } - return Json(default); } @@ -378,7 +377,6 @@ public async Task<string> GetBillErceiptExport(string orderNo) { var data = await _lifePayService.GetBillErceiptExport(orderNo); - return data; } -- Gitblit v1.9.1