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 | 66 +++++++++++++++++++++++++++++++++ 1 files changed, 66 insertions(+), 0 deletions(-) diff --git a/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs b/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs index e38e3a3..2202231 100644 --- a/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs +++ b/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayInput.cs @@ -219,6 +219,31 @@ /// </summary> public string? ChannelId { get; set; } + + + /// <summary> + /// 骞冲彴鎶樻墸姣斾緥 + /// </summary> + public decimal PlatformRate { get; set; } + + public decimal PlatformDeductionAmount { get; set; } + + /// <summary> + /// 娓犻亾鎶樻墸 + /// </summary> + public decimal? ChannleRate { get; set; } + + /// <summary> + /// 娓犻亾浣i噾姣斾緥 + /// </summary> + public decimal? ChannlesRakeRate { get; set; } + + /// <summary> + /// 鎵嬬画璐规瘮渚� + /// </summary> + public decimal PremiumRate { get; set; } + + } //public class ChannelsBaseInput : PageInput @@ -278,6 +303,8 @@ /// </summary> public DateTime? EndFinishTime { get; set; } + + /// <summary> /// 鐢ㄦ埛Id /// </summary> @@ -322,6 +349,16 @@ public DateTime? EndFinishTime { get; set; } /// <summary> + /// 寮�濮嬮��娆炬椂闂� + /// </summary> + public DateTime? BeginRefundTime { get; set; } + + /// <summary> + /// 缁撴潫閫�娆炬椂闂� + /// </summary> + public DateTime? EndRefundTime { get; set; } + + /// <summary> /// 鏀粯鐘舵�� /// </summary> public LifePayStatusEnum? PayStatus { get; set; } @@ -335,6 +372,10 @@ /// 璁㈠崟鐘舵�� /// </summary> public LifePayOrderStatusEnum? LifePayOrderStatus { get; set; } + /// <summary> + /// 璁㈠崟鐘舵�� + /// </summary> + public LifePayRefundStatusEnum? LifePayRefundStatus { get; set; } /// <summary> /// 鐢ㄦ埛Id @@ -496,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