Sfoglia il codice sorgente

feed: 饲料配方详细数据同步

Yi 1 anno fa
parent
commit
8c93ea3755
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      module/backend/pasture_sync_service.go

+ 1 - 1
module/backend/pasture_sync_service.go

@@ -358,7 +358,7 @@ func (s *StoreEntry) FeedFormulaDetailInsert(ctx context.Context, groupPasture *
 		})
 	}
 
-	if err := s.DB.Model(new(model.FeedFormulaDetail)).Create(res).Debug().Error; err != nil {
+	if err := s.DB.Model(new(model.FeedTemplateDetail)).Create(res).Error; err != nil {
 		return xerr.WithStack(err)
 	}
 	return nil