From 5ed558e343bd68110c381ee0ccc0ceea3d0e6fdf Mon Sep 17 00:00:00 2001 From: chfei Date: Tue, 18 Aug 2026 11:28:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A9=E6=B6=A6=E8=AE=A1=E7=AE=97=E5=87=BA?= =?UTF-8?q?=E7=8E=B0bug=20=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../KJD_WebService/BLL/WXXD/WXShopRevenueStatisticsManage.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/KJDService/KJD_WebService/BLL/WXXD/WXShopRevenueStatisticsManage.cs b/KJDService/KJD_WebService/BLL/WXXD/WXShopRevenueStatisticsManage.cs index 6a32003..5d8dbef 100644 --- a/KJDService/KJD_WebService/BLL/WXXD/WXShopRevenueStatisticsManage.cs +++ b/KJDService/KJD_WebService/BLL/WXXD/WXShopRevenueStatisticsManage.cs @@ -201,10 +201,11 @@ namespace KJD_Web.BLL.WXXD int orderPrice = row["order_price"].ParseToInt(); int predictCommissionFee = row["predict_commission_fee"].ParseToInt(); int commissionAmount = row["commission_amount"].ParseToInt(); + int refund_status = row["refund_status"].ParseToInt(); int refund_amount = row["refund_amount"].ParseToInt(); // 利润 = 订单金额 - 外采金额 - 平台服务费 - 达人佣金(为空按0处理) int profit = orderPrice - outAmount - predictCommissionFee - commissionAmount; - if (refund_amount > 0) //退款利润计算 + if (refund_status > 1 && refund_amount > 0) //退款利润计算 { profit = orderPrice - refund_amount; }