SteamWar/SpigotCore
Archiviert
13
0

Remove abgebrochene Prüfvorgänge

Dieser Commit ist enthalten in:
Lixfel 2021-01-01 10:02:44 +01:00
Ursprung 88e4b4b092
Commit 4e02dc6c59

Datei anzeigen

@ -71,7 +71,7 @@ public class CheckedSchematic {
public static List<CheckedSchematic> getLastDelined(int schemOwner){ public static List<CheckedSchematic> getLastDelined(int schemOwner){
List<CheckedSchematic> lastDeclined = new LinkedList<>(); List<CheckedSchematic> lastDeclined = new LinkedList<>();
try{ try{
ResultSet lastRS = SQL.select("SELECT * FROM CheckedSchematic WHERE SchemOwner = ? AND DeclineReason != '' ORDER BY EndTime DESC", schemOwner); ResultSet lastRS = SQL.select("SELECT * FROM CheckedSchematic WHERE SchemOwner = ? AND DeclineReason != '' AND DeclineReason != 'Prüfvorgang abgebrochen' ORDER BY EndTime DESC", schemOwner);
while(lastRS.next()){ while(lastRS.next()){
String schemName = lastRS.getString("SchemName"); String schemName = lastRS.getString("SchemName");
int validator = lastRS.getInt("Validator"); int validator = lastRS.getInt("Validator");