| | |
| | | mallMoneyFlowMapper.updateById(mallMoneyFlow); |
| | | if(AppContants.MEMBER_WITHDRAW_NORMAL.equals(mallMemberWithdraw.getRemark())){ |
| | | //用户佣金增加对应的余额 |
| | | iApiMallMemberWalletService.add(mallMemberWithdraw.getAmount(),mallMemberWithdraw.getMemberId(),"balance"); |
| | | iApiMallMemberWalletService.add(mallMemberWithdraw.getAmount(),mallMemberWithdraw.getMemberId(),"commission"); |
| | | } |
| | | return new FebsResponse().success(); |
| | | } |
| | |
| | | canMoney = canMoney.subtract(profit); |
| | | } |
| | | } |
| | | return canMoney; |
| | | return canMoney.compareTo(BigDecimal.ZERO) < 1 ? BigDecimal.ZERO : canMoney; |
| | | } |
| | | |
| | | @Override |