Untitled

 avatar
user_6461951
plain_text
a year ago
693 B
1
Indexable
Never
 private void saveAndAuditBO(PlayerReward playerReward, RewardAmounts rewardAmounts, String payload, UserLogParticipant actionBy) {
        var updated = playerRewardPersistence.save(playerReward);
        rewardsAuditService.createRewardAudit(
                rewardAmounts.getOldAmount(),
                rewardAmounts.getNewAmount(),
                rewardAmounts.getChangedAmount(),
                playerReward.getPlayerId(),
                playerReward.getId(),
                playerReward.getFinancialAdjustmentReason(),
                payload,
                actionBy.getName(),
                actionBy.getId().intValue());
        realtimeClient.send(updated);
    }