From 2accac7df60ce37d53e1ea85fafd4a806212fc58 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 11 八月 2025 09:48:09 +0800
Subject: [PATCH] 临时修改国家电网折扣为95折

---
 LifePayment/LifePayment.Application/LifePay/LifePayService.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
index dfa50f8..6a6bbf7 100644
--- a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
+++ b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
@@ -1145,6 +1145,12 @@
         var amount = CalculateAmount(input.ProductData.ParValue, rate);
         var platformRate = await _lifePayRateRepository.FirstOrDefaultAsync(r => r.RateType == LifePayRateTypeEnum.渚涘簲鍟嗘姌鎵d环);
 
+        //TODO 鐩稿叧鍗曢」鎶樻墸璋冭妭鍔熻兘鏈笂绾� 鐩墠閽堝鎯呭喌涓存椂鍐欐
+        if (input.ProductData.ElectricType == "guowang")
+        {
+            platformRate.Rate = 95;
+        }
+
         var orderInput = new CreateLifePayOrderInput
         {
             OrderNo = channle.ChannlesNum + CreateOrderNo(),

--
Gitblit v1.9.1