|
|
|
@@ -137,7 +137,7 @@ public class TtServiceFeeService implements ServiceFeeAdapterService{ |
|
|
|
int sellerAmount = PayUtils.getPayRate(wxComposeChildOrderShare.getRealPayMent(), sellCommission, false); |
|
|
|
wxComposeChildOrderShare.setSellerAmount(sellerAmount); |
|
|
|
//系统 先计算销售+系统 然后再减去销售 |
|
|
|
int systemCommission = getSystemCommission(null, payAccount); |
|
|
|
int systemCommission = getSystemCommissionByOrder(wxComposeChildOrderShare.getOrderId(), payAccount); |
|
|
|
int selSysAmount = PayUtils.getPayRate(wxComposeChildOrderShare.getRealPayMent(), systemCommission+sellCommission, false); |
|
|
|
int systemAmount = selSysAmount - sellerAmount; |
|
|
|
wxComposeChildOrderShare.setSystemAmount(systemAmount); |
|
|
|
|