Explorar el Código

Merge branch 'feature/bug-list' of xuyiping/kpt-tmr-group into develop

xuyiping hace 1 año
padre
commit
9d8e7b6898
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      module/backend/pasture_sync_service.go

+ 1 - 1
module/backend/pasture_sync_service.go

@@ -267,7 +267,7 @@ func (s *StoreEntry) FeedInsert(ctx context.Context, groupPasture *model.GroupPa
 			IsDelete:           operationPb.IsShow_OK,
 		})
 	}
-	if err := s.DB.Model(new(model.FeedFormula)).Create(res).Error; err != nil {
+	if err := s.DB.Model(new(model.Forage)).Create(res).Error; err != nil {
 		return xerr.WithStack(err)
 	}
 	return nil