NOTICKET: Fix MedicationDao ReadAll
This commit is contained in:
parent
dd369a5478
commit
a74b5863f9
1 changed files with 0 additions and 2 deletions
|
@ -106,8 +106,6 @@ public class MedicationDao implements Dao<Medication> {
|
||||||
result.getInt(6)
|
result.getInt(6)
|
||||||
);
|
);
|
||||||
medications.add(medication);
|
medications.add(medication);
|
||||||
lastMedicationId = currentMedicationId;
|
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
List<Ingredient> ingredients = ingredientMap.computeIfAbsent(currentMedicationId, k -> new ArrayList<>());
|
List<Ingredient> ingredients = ingredientMap.computeIfAbsent(currentMedicationId, k -> new ArrayList<>());
|
||||||
ingredients.add(new Ingredient(result.getString(7)));
|
ingredients.add(new Ingredient(result.getString(7)));
|
||||||
|
|
Loading…
Reference in a new issue