Skip to content

Commit

Permalink
review code with requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanotamburini committed Jan 2, 2025
1 parent c94c215 commit 3564edf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public IufClassificationActivityResult classify(Long organizationId, Long treasu
.map(paymentsReportingDTO ->
Transfer2ClassifyDTO.builder()
.iuv(paymentsReportingDTO.getIuv())
.iur(paymentsReportingDTO.getRegulationUniqueIdentifier())
.iur(paymentsReportingDTO.getIur())
.transferIndex(paymentsReportingDTO.getTransferIndex())
.build())
.toList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void classify(Long orgId, String iuv, String iur, int transferIndex) {

log.info("Retrieve payment reporting for organization id: {} and iuv: {} and iur {} and transfer index: {}", orgId, iuv, iur, transferIndex);
PaymentsReportingDTO paymentsReportingDTO = paymentsReportingDao.findBySemanticKey(orgId, iuv, iur, transferIndex);
if (paymentsReportingDTO!=null && StringUtils.isNotEmpty(paymentsReportingDTO.getIuf())) {
if (paymentsReportingDTO!=null) {
String iuf = paymentsReportingDTO.getIuf();
log.info("Retrieve treasury for organization id: {} and iuf {}", orgId, iuf);
treasuryDao.getByOrganizationIdAndIuf(orgId, iuf);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void givenReportedTransferWhenClassifyThenOk() {
.map(paymentsReportingDTO ->
Transfer2ClassifyDTO.builder()
.iuv(paymentsReportingDTO.getIuv())
.iur(paymentsReportingDTO.getRegulationUniqueIdentifier())
.iur(paymentsReportingDTO.getIur())
.transferIndex(paymentsReportingDTO.getTransferIndex())
.build())
.toList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public static PaymentsReportingDTO buildClassifyResultDTO(){
.organizationId(1L)
.iuf("IUF")
.iuv("IUV")
.regulationUniqueIdentifier("IUR")
.iur("IUR")
.transferIndex(1)
.build();
}
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.23.10-SNAPSHOT
1.23.11t add .-SNAPSHOT

0 comments on commit 3564edf

Please sign in to comment.