This commit is contained in:
zengtao01
2024-10-09 15:02:54 +08:00
parent 5f8f85b3df
commit a1ac698daf
6 changed files with 88 additions and 2 deletions

View File

@ -759,6 +759,7 @@ public class DivideServiceImpl implements DivideService {
cardDO.setMoney(oldMoney.subtract(changeMoney).setScale(2, BigDecimal.ROUND_HALF_UP));
cardDO.setWxAmount(wxOldMoney.subtract(changeMoney).setScale(2, BigDecimal.ROUND_HALF_UP));
cardDO.setGiftAmount(lastCardDO.getGiftAmount());
cardDO.setCashAmount(lastCardDO.getCashAmount());
divideCardMapper.insert(cardDO);
}