You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SubcommandGroup.of(newSubcommandGroupData("questions-queue", "Commands for interacting with the set of QOTW questions that are in queue."), listQuestionsSubcommand, addQuestionSubcommand, removeQuestionSubcommand),
37
-
SubcommandGroup.of(newSubcommandGroupData("account", "Commands for interaction with Users Question of the Week points."), incrementPointsSubcommand, setPointsSubcommand),
35
+
SubcommandGroup.of(newSubcommandGroupData("account", "Commands for interaction with Users Question of the Week points."), incrementPointsSubcommand),
38
36
SubcommandGroup.of(newSubcommandGroupData("submissions", "Commands for managing QOTW Submissions."), reviewSubcommand)
returnjdbcTemplate.query("SELECT user_id, SUM(points) FROM qotw_points WHERE obtained_at >= ? GROUP BY user_id ORDER BY SUM(points) DESC", (rs, row)->this.read(rs), startDate);
75
87
}
76
88
77
89
/**
78
90
* Gets a specified amount of {@link QOTWAccount}s.
79
91
*
80
-
* @param page The page.
81
-
* @param size The amount of {@link QOTWAccount}s to return.
92
+
* @param startDate the minimum date points are considered
93
+
* @param page The page.
94
+
* @param size The amount of {@link QOTWAccount}s to return.
82
95
* @return A {@link List} containing the specified amount of {@link QOTWAccount}s.
returnjdbcTemplate.query("SELECT user_id, SUM(points) FROM qotw_points WHERE startDate >= ? AND points > 0 GROUP BY user_id ORDER BY SUM(points) DESC LIMIT ? OFFSET ?", (rs,row)->this.read(rs),
0 commit comments