分账失败累加待入账金额

This commit is contained in:
张松 2025-10-30 15:20:52 +08:00
parent ad530a01f0
commit 0018f86dfc
1 changed files with 1 additions and 0 deletions

View File

@ -610,6 +610,7 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
updateIncome(BigDecimal.ZERO, rewardAmount, BigDecimal.ZERO, currentDistributionUser.getId(), shopUser.getUserId(), shopUser.getMainShopId(), currentLevel == 1 ? 1 : 2);
} catch (Exception e) {
mkDistributionFlow.setStatus(TableValueConstant.DistributionFlow.Status.PENDING.getCode());
updateIncome(rewardAmount, BigDecimal.ZERO, BigDecimal.ZERO, currentDistributionUser.getId(), shopUser.getUserId(), shopUser.getMainShopId(), currentLevel == 1 ? 1 : 2);
distributionFlowService.updateById(mkDistributionFlow);
}
}else {