Skip to content

Commit 1eb28a2

Browse files
committed
fix: id transaction to account id
1 parent 8440ff4 commit 1eb28a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/app/banking/repository/TransactionGroupRepo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
@Repository
1010
public class TransactionGroupRepo extends CommonCrud<TransactionGroup, Long> {
1111
public List<TransactionGroup> findAllByAccountId(Long id) {
12-
return listFromQueries(Queries.select().where().equals("@id", id).end());
12+
return listFromQueries(Queries.select().where().equals("id_account", id).end());
1313
}
1414
}

0 commit comments

Comments
 (0)