v1.1 寻找小精灵-门票支出amount取反

This commit is contained in:
2022-10-27 14:45:29 +08:00
parent a8cfb87460
commit 3479b869d7

View File

@@ -436,7 +436,7 @@ public class SeekElfinServiceImpl extends BaseService implements SeekElfinServic
billRecord.setBillType(BillObjTypeEnum.SEEK_ELFIN_PAYMENT.getType().getValue());
billRecord.setCurrency(BillObjTypeEnum.SEEK_ELFIN_PAYMENT.getCurrency().getValue());
BigDecimal ticketGold = BigDecimal.valueOf(totalCostGold);
billRecord.setAmount(ticketGold);
billRecord.setAmount(ticketGold.negate());
BigDecimal actualAmount = BigDecimal.valueOf(CurrencyEnum.GOLD.getExchangeRate()).multiply(ticketGold);
billRecord.setActualAmount(actualAmount);
billRecord.setObjType(BillObjTypeEnum.SEEK_ELFIN_PAYMENT.getValue());