added missing functionality
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
package com.bib.essensbestellungsverwaltung;
|
||||
/*
|
||||
@author Malte Schulze Hobeling
|
||||
*/
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -43,4 +46,9 @@ public class FoodMgr {
|
||||
public static List<String> getFoodById(long id){
|
||||
return Database.getEntryById("food",id);
|
||||
}
|
||||
|
||||
public static long createFood_selection(String[] food_selectionData){
|
||||
String[] food_selectionH = {"childid","foodplanid","foodid"};
|
||||
return Database.insert("food_selection",food_selectionH,food_selectionData);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user