|
@@ -467,7 +467,7 @@ public class UserAccountServiceImpl extends ServiceImpl<UserAccountDao, UserAcco
|
|
platformCashAccountRecordService.save(platformCashAccountRecord);
|
|
platformCashAccountRecordService.save(platformCashAccountRecord);
|
|
|
|
|
|
//分润
|
|
//分润
|
|
- if (null != shareDto.getPromoterId() && !shareDto.getPromoterId().equals(shareDto.getUserId())) {
|
|
|
|
|
|
+ if (null != shareDto.getPromoterId() && !shareDto.getPromoterId().equals(shareDto.getUserId()) && shareDto.getPromoterId() !=0) {
|
|
//获取分润收益费率
|
|
//获取分润收益费率
|
|
BigDecimal shareFeeRate = userOrderService.getShareFreeByGoodType(GoodTypeEnum.MALL);
|
|
BigDecimal shareFeeRate = userOrderService.getShareFreeByGoodType(GoodTypeEnum.MALL);
|
|
if (shareFeeRate.compareTo(BigDecimal.ZERO) > 0) {
|
|
if (shareFeeRate.compareTo(BigDecimal.ZERO) > 0) {
|