added ZZNOK
This commit is contained in:
parent
17ea1f080c
commit
588385fc14
@ -32,7 +32,7 @@ namespace bsmd.Tool
|
||||
|
||||
// preload countries
|
||||
Dictionary<string, int> countryDict = new Dictionary<string, int>();
|
||||
|
||||
|
||||
SQLiteCommand countryCmd = new SQLiteCommand(connection);
|
||||
countryCmd.CommandText = "SELECT id, code FROM countries";
|
||||
SQLiteDataReader reader = countryCmd.ExecuteReader();
|
||||
@ -95,7 +95,7 @@ namespace bsmd.Tool
|
||||
if (code.Length < 3) continue;
|
||||
|
||||
currentLocodes.Add(country + code);
|
||||
|
||||
|
||||
ccode.Value = country;
|
||||
lcode.Value = code;
|
||||
|
||||
@ -173,6 +173,7 @@ namespace bsmd.Tool
|
||||
{
|
||||
string locode = reader2.GetString(0) + reader2.GetString(2);
|
||||
if (locode.Equals("ZZUKN")) continue;
|
||||
if (locode.Equals("ZZNOK")) continue;
|
||||
if (!currentLocodes.Contains(locode))
|
||||
deleteIds.Add(reader2.GetInt32(1));
|
||||
}
|
||||
|
||||
BIN
misc/db.sqlite
BIN
misc/db.sqlite
Binary file not shown.
Loading…
Reference in New Issue
Block a user