generated from pagopa/template-payments-java-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: P4ADEV-2239 add debt position origin input param in api get ins…
…tallments by organization id and nav (#78)
- Loading branch information
Showing
10 changed files
with
537 additions
and
492 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/main/java/it/gov/pagopa/pu/debtpositions/repository/InstallmentPIIRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
package it.gov.pagopa.pu.debtpositions.repository; | ||
|
||
import it.gov.pagopa.pu.debtpositions.dto.Installment; | ||
import it.gov.pagopa.pu.debtpositions.dto.generated.DebtPositionOrigin; | ||
|
||
import java.util.List; | ||
|
||
public interface InstallmentPIIRepository { | ||
|
||
Installment save(Installment installment); | ||
|
||
List<Installment> getByOrganizationIdAndNav(Long organizationId, String nav); | ||
List<Installment> getByOrganizationIdAndNav(Long organizationId, String nav, List<DebtPositionOrigin> debtPositionOrigin); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/main/java/it/gov/pagopa/pu/debtpositions/service/InstallmentService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
package it.gov.pagopa.pu.debtpositions.service; | ||
|
||
import it.gov.pagopa.pu.debtpositions.dto.generated.DebtPositionOrigin; | ||
import it.gov.pagopa.pu.debtpositions.dto.generated.InstallmentDTO; | ||
|
||
import java.util.List; | ||
|
||
public interface InstallmentService { | ||
List<InstallmentDTO> getInstallmentsByOrganizationIdAndNav(Long organizationId, String nav); | ||
List<InstallmentDTO> getInstallmentsByOrganizationIdAndNav(Long organizationId, String nav, List<DebtPositionOrigin> debtPositionOrigin); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters