|
|
@@ -991,7 +991,7 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
log.info("分销兑换积分比例未配置");
|
|
|
} else {
|
|
|
UserDistribute userDistribute = userDistributeMapper.selectOne(Wrappers.lambdaQuery(UserDistribute.class).eq(UserDistribute::getUserId, userDistributeShared.getSharedId()).eq(UserDistribute::getDeleted, true).last("limit 1"));
|
|
|
- if (userDistributeShared == null) {
|
|
|
+ if (userDistribute == null) {
|
|
|
//普通分销
|
|
|
GoodsDon goodsDon = goodsDonMapper.selectById(order.getGoodsId());
|
|
|
if (goodsDon != null) {
|