From 729a896c346a83186b9ab5aff76f7bbd4de1e513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Sun, 14 Mar 2021 12:41:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=90=86=E5=95=86=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E9=80=80=E6=AC=BE=E8=A1=A5=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs index 2f22b08..28e6887 100644 --- a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs +++ b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs @@ -935,7 +935,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel, // //使用天数 回补佣金 - var re_money = useDay * (agentPriceEntity.refund - refundDayPrice.Value) * accountInfo.ConnectCount; + var re_money = useDay * (refundDayPrice.Value - agentPriceEntity.refund) * accountInfo.ConnectCount; //佣金 var score_money = agentEntity.account - deduct_money + re_money;