|
|
@@ -268,7 +268,9 @@ public interface TradeOrderConvert {
|
|
|
.setTitle(StrUtil.format("{}成功购买{}", user.getNickname(), item.getSpuName()))
|
|
|
.setFirstFixedPrice(0).setSecondFixedPrice(0);
|
|
|
if (BooleanUtil.isTrue(spu.getSubCommissionType())) {
|
|
|
- bo.setFirstFixedPrice(sku.getFirstBrokeragePrice()).setSecondFixedPrice(sku.getSecondBrokeragePrice());
|
|
|
+ // 特殊:单独设置的佣金需要乘以购买数量。关联 https://gitee.com/yudaocode/yudao-mall-uniapp/issues/ICY7SJ
|
|
|
+ bo.setFirstFixedPrice(sku.getFirstBrokeragePrice() * item.getCount())
|
|
|
+ .setSecondFixedPrice(sku.getSecondBrokeragePrice() * item.getCount());
|
|
|
}
|
|
|
return bo;
|
|
|
}
|