From e896cbc0f5d5483d4661918556f45b7b9a6c31c2 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期一, 24 三月 2025 20:31:36 +0800 Subject: [PATCH] fix:手续费、利润等计算 --- LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs | 42 +++++++++++++++++++++++++++++++++++++++++- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs b/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs index 16a691b..2202231 100644 --- a/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs +++ b/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs @@ -224,7 +224,9 @@ /// <summary> /// 骞冲彴鎶樻墸姣斾緥 /// </summary> - public decimal? PlatformRate { get; set; } + public decimal PlatformRate { get; set; } + + public decimal PlatformDeductionAmount { get; set; } /// <summary> /// 娓犻亾鎶樻墸 @@ -240,6 +242,7 @@ /// 鎵嬬画璐规瘮渚� /// </summary> public decimal PremiumRate { get; set; } + } @@ -300,6 +303,8 @@ /// </summary> public DateTime? EndFinishTime { get; set; } + + /// <summary> /// 鐢ㄦ埛Id /// </summary> @@ -342,6 +347,16 @@ /// 缁撴潫瀹屾垚鏃堕棿 /// </summary> public DateTime? EndFinishTime { get; set; } + + /// <summary> + /// 寮�濮嬮��娆炬椂闂� + /// </summary> + public DateTime? BeginRefundTime { get; set; } + + /// <summary> + /// 缁撴潫閫�娆炬椂闂� + /// </summary> + public DateTime? EndRefundTime { get; set; } /// <summary> /// 鏀粯鐘舵�� @@ -522,4 +537,29 @@ public string Phone { get; set; } public string Remark { get; set; } +} + +public class OrderPriceReturn +{ + /// <summary> + /// 骞冲彴鎵f閲戦 + /// </summary> + public decimal PlatformPrice { get; set; } + + /// <summary> + /// 鎵嬬画璐� + /// </summary> + public decimal PremiumPrice { get; set; } + + /// <summary> + /// 娓犻亾浣i噾 + /// </summary> + public decimal ChannlesRakePrice { get; set; } + + /// <summary> + /// 鍒╂鼎 + /// </summary> + + public decimal Profit { get; set; } + } \ No newline at end of file -- Gitblit v1.9.1