|
@@ -267,7 +267,7 @@ func (s *StoreEntry) FeedInsert(ctx context.Context, groupPasture *model.GroupPa
|
|
IsDelete: operationPb.IsShow_OK,
|
|
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 xerr.WithStack(err)
|
|
}
|
|
}
|
|
return nil
|
|
return nil
|