精简
This commit is contained in:
@ -252,5 +252,6 @@ public class CardServiceImpl implements CardService {
|
||||
oldMoney = lastCardDO.getMoney();
|
||||
}
|
||||
cardDO.setMoney(oldMoney.add(money).setScale(2, BigDecimal.ROUND_HALF_UP));
|
||||
cardMapper.insert(cardDO);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user