Skip to content

Commit

Permalink
PAGOPA-1783 reinserting method for old api
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoRuzzier committed May 28, 2024
1 parent 0c25ea5 commit 5ea88cc
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ public interface IbanMasterRepository extends JpaRepository<IbanMaster, Long> {
void deleteByIds(List<Long> ids);


@Query("select master from IbanMaster master, IbanAttributeMaster attribute, IbanAttribute label " +
"where master.objId = attribute.fkIbanMaster " +
"and attribute.fkAttribute = label.objId " +
"and master.fkPa=?1 " +
"and attribute.ibanAttribute.attributeName=?2")
List<IbanMaster> findByFkPaAndLabel(Long fkPa, String label);

@Query("select master from IbanMaster master, IbanAttributeMaster attribute, IbanAttribute label " +
"where master.objId = attribute.fkIbanMaster " +
"and attribute.fkAttribute = label.objId " +
Expand Down

0 comments on commit 5ea88cc

Please sign in to comment.