update 20260303

This commit is contained in:
Stefan Hutter
2026-03-03 13:49:14 +01:00
parent 30d047e33d
commit bfa6a27e11
653 changed files with 455612 additions and 410 deletions

View File

@@ -324,7 +324,19 @@ ELSE
}
}
if (json == null)
{
using (SqlConnection con = new SqlConnection(connectionstring))
using (SqlCommand cmd = new SqlCommand(
"SELECT paket FROM Ondoc_Versandstrasse_Paket WHERE id = @key", con))
{
cmd.Parameters.AddWithValue("@key", key);
con.Open();
json = cmd.ExecuteScalar()?.ToString();
}
}
System.IO.File.WriteAllText(Properties.Settings.Default.tempdir + txtfilename.Text + ".json", json);
Refresh_Filelist();
}