|
|
@@ -1371,7 +1371,13 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
if (userPlatDistributeRate != null) {
|
|
|
rate = userPlatDistributeRate.getRate();
|
|
|
if (goodsDon != null && goodsDon.getType() == 2) {
|
|
|
- rate = userPlatDistributeRate.getSecondRate();
|
|
|
+ GoodsDonSku goodsDonSku = goodsDonSkuMapper.selectById(order.getSkuId());
|
|
|
+ if (goodsDonSku != null) {
|
|
|
+ //不包含套餐权益
|
|
|
+ if (!goodsDonSku.getIsBenefits()) {
|
|
|
+ rate = userPlatDistributeRate.getSecondRate();
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
returnMoney = orderMoney.multiply(BigDecimal.valueOf(rate)).divide(BigDecimal.valueOf(100));
|
|
|
}
|