Skip to content

Commit

Permalink
不要なコード削除
Browse files Browse the repository at this point in the history
  • Loading branch information
Kubosaka committed Jan 8, 2025
1 parent 2cb678e commit f22f3f9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions api/internals/usecase/financial_record_usecase.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ func (fru *financialRecordUseCase) GetFinancialRecords(
total.Expense = &expenseTotal
total.Balance = &balanceTotal

// financialRecordDetails.FinancialRecords = &financialRecordList
financialRecordDetails.Total = &total
financialRecordDetails.FinancialRecords = &financialRecordList

Expand Down Expand Up @@ -131,7 +130,6 @@ func (fru *financialRecordUseCase) GetFinancialRecordsByYears(
total.Expense = &expenseTotal
total.Balance = &balanceTotal

// financialRecordDetails.FinancialRecords = &financialRecordList
financialRecordDetails.Total = &total
financialRecordDetails.FinancialRecords = &financialRecordList

Expand Down Expand Up @@ -199,12 +197,3 @@ func (fru *financialRecordUseCase) DestroyFinancialRecord(c context.Context, id
err := fru.rep.Delete(c, id)
return err
}

type FinancialRecordDetailColumn struct {
Id *string
Name *string
Year *string
Budget *int
Expense *int
Balance *int
}

0 comments on commit f22f3f9

Please sign in to comment.