Skip to content

Commit

Permalink
removendo comentário
Browse files Browse the repository at this point in the history
  • Loading branch information
joellensilva committed Sep 11, 2024
1 parent 53a2f63 commit 0ea1c09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion repo/database/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,6 @@ func (p *PostgresDB) GetPaycheckItems(agency models.Agency, year int) ([]models.

func (p *PostgresDB) GetAveragePerCapita(agency string, ano int) (*models.PerCapitaData, error) {
var dtoAvg dto.PerCapitaData
//Pegando todas as coletas atuais de um determinado órgão.
m := p.db.Model(&dto.PerCapitaData{})
m = m.Where("orgao = ? AND ano = ?", agency, ano)
if err := m.Find(&dtoAvg).Error; err != nil {
Expand Down

0 comments on commit 0ea1c09

Please sign in to comment.