Skip to content

Commit

Permalink
ho-dev#2078 ts forecast loads all trainer data
Browse files Browse the repository at this point in the history
  • Loading branch information
wsbrenk committed Jun 6, 2024
1 parent f8fe1f0 commit cacd0e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/module/tsforecast/TrainerCurve.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TrainerCurve extends Curve {
}

private static final String readTrainerBeforeStartSql = "select SPIELERID, FUEHRUNG, DATUM from SPIELER where TRAINERTYP <> -1 and DATUM <= ? order by DATUM desc";
private static final String readTrainerSql = "select SPIELERID, FUEHRUNG, DATUM from SPIELER where TRAINERTYP <> -1 and DATUM > ? and DATUM < ? order by DATUM";
private static final String readTrainerSql = "select SPIELERID, FUEHRUNG, DATUM from SPIELER where TRAINERTYP <> -1 and DATUM > ? and DATUM <= ? order by DATUM";
private void readTrainer() {
var start = HOVerwaltung.instance().getModel().getBasics().getDatum().minus(WEEKS_BACK*7, ChronoUnit.DAYS);

Expand Down

0 comments on commit cacd0e4

Please sign in to comment.