diff --git a/internal/common/repository/common.hppv2.repository.go b/internal/common/repository/common.hppv2.repository.go index c58503d0..829079c3 100644 --- a/internal/common/repository/common.hppv2.repository.go +++ b/internal/common/repository/common.hppv2.repository.go @@ -897,7 +897,6 @@ func (r *HppV2RepositoryImpl) GetEggProduksiBreakdownByProjectFlockKandangIds(ct Joins("JOIN product_warehouses AS pw ON pw.id = ast.product_warehouse_id"). Where("pw.project_flock_kandang_id IN (?)", projectFlockKandangIDs). Where("ast.function_code = ?", string(utils.AdjustmentTransactionSubtypeRecordingEggIn)). - Where("ast.created_at <= ?", *date). Scan(&adjustmentTotals).Error if err != nil { return 0, 0, 0, 0, err @@ -1154,7 +1153,6 @@ CROSS JOIN lokasi_rec_totals lrt string(utils.AdjustmentTransactionTypeRecording), ). Scan(&totals).Error - if err != nil { return 0, 0, err }