Skip to content

Commit

Permalink
(#197) corrige listagem de idoso por usuario
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriqueAmorim20 committed Nov 17, 2023
1 parent cada4ad commit 6d5813b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/idoso/idoso.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export class IdosoService {

whereClause += getWhereClauseString(filter.nome, 'nome');
whereClause += getWhereClauseNumber(filter.id, 'id');
whereClause += getWhereClauseNumber(filter.idUsuario, '"idUsuario"');

return whereClause;
}
Expand Down
1 change: 1 addition & 0 deletions src/idoso/interfaces/idoso-filter.interface.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export interface IIdosoFilter {
id?: number;
nome?: string;
idUsuario?: number;
}

0 comments on commit 6d5813b

Please sign in to comment.