fix adjustment id (#102)

Co-authored-by: ggmaleva <ggmaleva@yandex.ru>
This commit is contained in:
Gregory 2023-08-18 18:04:55 +03:00 committed by GitHub
parent 76d1b4d7dc
commit 946ce65481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ public class WithdrawalAdjustmentTransferStatusChangedHandler implements Withdra
final WithdrawalAdjustment withdrawalAdjustmentOld = withdrawalAdjustmentDao.getByIds(withdrawalId, withdrawalAdjustmentId);
WithdrawalAdjustment withdrawalAdjustmentNew = machineEventCopyFactory
.create(event, sequenceId, withdrawalId, withdrawalAdjustmentOld, timestampedChange.getOccuredAt());
.create(event, sequenceId, withdrawalAdjustmentId, withdrawalAdjustmentOld, timestampedChange.getOccuredAt());
withdrawalAdjustmentNew.setWithdrawalTransferStatus(TBaseUtil.unionFieldToEnum(status, WithdrawalTransferStatus.class));
withdrawalAdjustmentDao.save(withdrawalAdjustmentNew).ifPresentOrElse(