mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-23 06:45:43 +00:00
Merge branch 'fix/data-produksi' into 'development'
[FIX][BE]: fix closing data produksi PENJUALAN See merge request mbugroup/lti-api!261
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