|
@@ -839,7 +839,7 @@ public class TradeOrderUpdateServiceImpl implements TradeOrderUpdateService {
|
|
|
/**
|
|
|
* 推广-推荐人额度 百分比
|
|
|
*/
|
|
|
- String grossProfitAncestorQuotaPerc = orderPercentageDO.getGrossProfitAncestorQuotaPerc();
|
|
|
+ String grossProfitUserQuotaPerc = orderPercentageDO.getGrossProfitUserQuotaPerc();
|
|
|
|
|
|
//add by Ben 根据支付订单id,查询所有 支付订单 对应的 订单
|
|
|
List<TradeOrderDO> TradeOrderDOList = tradeOrderMapper.selectList("pay_order_id", payOrderId);
|
|
@@ -907,7 +907,7 @@ public class TradeOrderUpdateServiceImpl implements TradeOrderUpdateService {
|
|
|
Long itemFreezeAmount =
|
|
|
promotionExpenses2GrossProfitAncestorQuota(promotionExpenses,
|
|
|
grossProfitPerc,//毛利 = 成本 * 0.38... (推广费用)
|
|
|
- grossProfitAncestorQuotaPerc//推广-推荐人额度 百分比
|
|
|
+ grossProfitUserQuotaPerc//消费者自得额度 百分比
|
|
|
);
|
|
|
|
|
|
totalFreezeAmount+=itemFreezeAmount;
|