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; }