mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
fix closing data produksi sales
This commit is contained in:
@@ -253,7 +253,7 @@ func (r *HppRepositoryImpl) GetEggTerjualPiecesAndWeightKgByProjectFlockKandangI
|
||||
Joins("JOIN marketing_delivery_products mdp ON mdp.id = sa.usable_id").
|
||||
Where("r.project_flock_kandangs_id IN (?)", projectFlockKandangIDs).
|
||||
Where("r.record_datetime <= ?", *endDate).
|
||||
Where("mdp.delivery_date = ?", *startDate)
|
||||
Where("mdp.delivery_date <= ?", *startDate)
|
||||
|
||||
var totals struct {
|
||||
TotalPieces float64
|
||||
|
||||
Reference in New Issue
Block a user