数据库中基础数据丢失的item不读取

croire 3 years ago
parent f199f35247
commit 1027a9e702

@ -76,6 +76,7 @@ namespace DownKyi.Services.Download
Downloading = downloading
};
if (downloadingItem.DownloadBase == null) { continue; }
list.Add(downloadingItem);
}
}
@ -153,13 +154,14 @@ namespace DownKyi.Services.Download
{
if (item.Value is Downloaded downloaded)
{
DownloadedItem downloadingItem = new DownloadedItem
DownloadedItem downloadedItem = new DownloadedItem
{
DownloadBase = GetDownloadBase(item.Key),
Downloaded = downloaded
};
list.Add(downloadingItem);
if (downloadedItem.DownloadBase == null) { continue; }
list.Add(downloadedItem);
}
}

Loading…
Cancel
Save