package com.bonus.canteen.core.nutrition.api;

import com.bonus.canteen.core.nutrition.common.po.DishNutritionParam;
import com.bonus.canteen.core.nutrition.common.service.HealthDishRecommendScoreService;
import com.bonus.canteen.core.nutrition.common.vo.HealthDishRecommendScoreVO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NutritionApi {
   private static final Logger log = LoggerFactory.getLogger(NutritionApi.class);
   @Autowired
   private HealthDishRecommendScoreService healthDishRecommendScoreService;


   public HealthDishRecommendScoreVO getDishesRecommendScore(Long custId, List<DishNutritionParam> dishNutritionParamList) {
      return this.healthDishRecommendScoreService.getDishesRecommendScore(custId, dishNutritionParamList);
   }

}
