Add support for third delivery date

This commit is contained in:
2023-04-10 19:19:15 +02:00
parent 691b995500
commit 8eef7d8c0a
3 changed files with 29 additions and 3 deletions
@@ -84,6 +84,14 @@ public class TLWMatchdaysUpdater {
"Tippabgabeschluss 2 zu '" + matchdayUpdated.getDeliveryDate2() + "'.\n";
}
if (!matchdayOriginal.getDeliveryDate3().equals(matchdayUpdated.getDeliveryDate3())) {
updateSql += updateStart +
"delivery_date_3 = '" + matchdayUpdated.getDeliveryDate3() + "' " +
condition;
this.beautifulInfo += beautifulInfoStart +
"Tippabgabeschluss 3 zu '" + matchdayUpdated.getDeliveryDate3() + "'.\n";
}
if (!matchdayOriginal.getMatchdayName().equals(matchdayUpdated.getMatchdayName())) {
updateSql += updateStart +
"matchday_name = '" + matchdayUpdated.getMatchdayName() + "' " +