NOT null or empty

This commit is contained in:
2025-06-03 10:48:17 -04:00
parent 0ce0dc35e1
commit aee37eb8f7
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ namespace PartSource.Automation.Jobs
if (int.TryParse(columns[0], out int store)
&& !string.IsNullOrEmpty(sku)
&& int.TryParse(columns[2], out int quantity)
&& string.IsNullOrEmpty(updated))
&& !string.IsNullOrEmpty(updated))
{
command += $"UPDATE PartAvailability SET QTY = @qty_{i}, Updated = @updated_{i} WHERE SKU = @sku_{i} AND Store = @store_{i};";