This commit is contained in:
马增飞
2025-11-06 19:28:59 +08:00
parent 30ce3499eb
commit 73ba4431e7
12 changed files with 597 additions and 135 deletions
@@ -96,7 +96,7 @@ object FoodModule {
nameScoreList.add(IdNameScore(id = it.id, name = box.get(it.id).name?:"", score = it.score))
}
Timber.tag("FoodModule").d("queryFood数据:${nameScoreList.toJsonString()}")
idScoreList.filter { it.score < 0.01 }.forEach {
idScoreList.filter { it.score < 0.10 }.forEach {
val food = box.get(it.id)
//FoodQueryResult(id = it.id, name = food.name, foodIdx = food.foodIdx, score = it.score)
food.name?.let { key ->