diff --git a/structs/storage/article.go b/structs/storage/article.go index 32e4e76..8c1b3e8 100644 --- a/structs/storage/article.go +++ b/structs/storage/article.go @@ -131,7 +131,7 @@ func NewGetArticleQuery() *GetArticleQuery { } func (g *GetArticleQuery) Scope(db *gorm.DB) *gorm.DB { - db = db.Preload("Providers").Preload("Sellers") + db = db.Preload("Providers").Preload("Providers.CalculateProcess").Preload("Sellers").Preload("Sellers.CalculateProcess") if g.ID != 0 { db = db.Where("id=?", g.ID) }