|
@@ -858,8 +858,8 @@ public class BeijingNutritionService {
|
|
|
NUTRITION_BASE_SCORE.put("快餐", 20.0);
|
|
NUTRITION_BASE_SCORE.put("快餐", 20.0);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- private static final Set<String> QUICK_COOK_CATEGORIES = Set.of("蔬菜", "蛋类", "水果", "汤");
|
|
|
|
|
- private static final Set<String> MEDIUM_COOK_CATEGORIES = Set.of("豆类及豆制品", "乳制品", "干果", "主食");
|
|
|
|
|
|
|
+ private static final Set<String> QUICK_COOK_CATEGORIES = new HashSet<>(Arrays.asList("蔬菜", "蛋类", "水果", "汤"));
|
|
|
|
|
+ private static final Set<String> MEDIUM_COOK_CATEGORIES = new HashSet<>(Arrays.asList("豆类及豆制品", "乳制品", "干果", "主食"));
|
|
|
|
|
|
|
|
private double scoreBacteria(String direction, Integer recommendIndex) {
|
|
private double scoreBacteria(String direction, Integer recommendIndex) {
|
|
|
double base;
|
|
double base;
|