Bläddra i källkod

statistic: 转换apiname

Yi 1 år sedan
förälder
incheckning
ff130b1318
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      module/backend/statistic_service.go

+ 1 - 1
module/backend/statistic_service.go

@@ -429,7 +429,7 @@ func (s *StoreEntry) SearchFeedStatistics(ctx context.Context, req *operationPb.
 			}
 
 			if response.Code == http.StatusOK && response.Data.List != nil {
-				if req.ApiName == "getFeedEfficiencySC" {
+				if req.ApiName == "getFeedEfficiencyFT" {
 					feedStatisticsConversions := FeedStatisticsConversions(response.Data.List)
 					feedStatisticsConversions.PastureName = groupPasture.Name
 					res.Data.List[groupPasture.Name] = FeedStatisticsConversions(response.Data.List)