src/main/java/cc/mrbird/febs/mall/service/impl/MallMemberWithdrawServiceImpl.java
@@ -199,6 +199,11 @@ if(withdrawAmount.compareTo(amount) > 0){ throw new FebsException("至少为"+withdrawAmount); } boolean b = Integer.parseInt(amount.toString()) % Integer.parseInt(withdrawAmount.toString()) == 0; if(!b){ throw new FebsException("金额必须为"+withdrawAmount+"的整数倍"); } MallMemberAmount mallMemberAmount = mallMemberAmountMapper.selectByMemberId(memberId); mallMemberAmount.setFcmCntAva(mallMemberAmount.getFcmCntAva().subtract(amount));