mirror of
https://github.com/valitydev/claim-management.git
synced 2024-11-06 10:15:22 +00:00
BJ-782: Revision fix (#12)
This commit is contained in:
parent
f90a570f26
commit
33250f72b8
@ -106,7 +106,7 @@ public class ClaimManagementServiceImpl implements ClaimManagementService {
|
||||
|
||||
claimModel = claimRepository.saveAndFlush(claimModel);
|
||||
|
||||
Event claimEvent = claimEventFactory.createUpdateClaimEvent(partyId, claimId, revision, changeset, claimModel.getUpdatedAt());
|
||||
Event claimEvent = claimEventFactory.createUpdateClaimEvent(partyId, claimId, claimModel.getRevision(), changeset, claimModel.getUpdatedAt());
|
||||
|
||||
sendToEventSinkWithRetry(partyId, claimEvent);
|
||||
|
||||
@ -214,7 +214,7 @@ public class ClaimManagementServiceImpl implements ClaimManagementService {
|
||||
claimModel = claimRepository.save(claimModel);
|
||||
|
||||
Event claimEvent = claimEventFactory.createChangeStatusEvent(
|
||||
partyId, claimId, revision,
|
||||
partyId, claimId, claimModel.getRevision(),
|
||||
conversionWrapperService.convertClaimStatus(claimModel.getClaimStatus()),
|
||||
claimModel.getUpdatedAt()
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user