liujiandao
2024-01-08 dcf9d1324c4ecc23bc0b120ee9af9f0f74cde034
models/operation.go
@@ -163,7 +163,7 @@
   }
   if slf.Preload {
      db = db.Model(&Operation{}).Preload("Details").Preload("Details.Product").Preload("LogisticCompany").Preload("Location").Preload("Details.FromLocation").Preload("Details.ToLocation")
      db = db.Model(&Operation{}).Preload("Details").Preload("Details.Product").Preload("LogisticCompany").Preload("Location").Preload("ToLocation").Preload("Details.FromLocation").Preload("Details.ToLocation")
   }
   if slf.Disuse {