fix[BE]: adjust chickin if product warehouse have more than one DOC product

This commit is contained in:
aguhh18
2025-10-22 14:56:32 +07:00
parent e2818b11f0
commit 6dd45c3289
7 changed files with 170 additions and 66 deletions
@@ -67,7 +67,6 @@ func (r *projectFlockKandangRepositoryImpl) GetByID(ctx context.Context, id uint
Preload("ProjectFlock").
Preload("ProjectFlock.Flock").
Preload("Kandang").
Preload("CreatedUser").
First(record, id).Error; err != nil {
return nil, err
}