Dieser Commit ist enthalten in:
Ursprung
076fa8ad78
Commit
e351352a29
@ -44,8 +44,6 @@ public class Referee {
|
|||||||
delete.update(eventID, userID);
|
delete.update(eventID, userID);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final SelectStatement<Referee> byEvent = table.selectFields("eventID");
|
|
||||||
|
|
||||||
public static Set<Integer> get(int eventID) {
|
public static Set<Integer> get(int eventID) {
|
||||||
return byEvent.listSelect(eventID).stream().map(referee -> referee.userID).collect(Collectors.toSet());
|
return byEvent.listSelect(eventID).stream().map(referee -> referee.userID).collect(Collectors.toSet());
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren