瀏覽代碼

处理区校掌握,学区空间问题

Li 2 年之前
父節點
當前提交
dc8435992e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      TEAMModelBI/Controllers/BIBlob/AnalyseFileController.cs

+ 1 - 1
TEAMModelBI/Controllers/BIBlob/AnalyseFileController.cs

@@ -61,7 +61,7 @@ namespace TEAMModelBI.Controllers.BIBlob
 
 
             await foreach (BlobItem blobItem in blobCilent.GetBlobsAsync(BlobTraits.None, BlobStates.None, $"visitCnt/{day}"))
             await foreach (BlobItem blobItem in blobCilent.GetBlobsAsync(BlobTraits.None, BlobStates.None, $"visitCnt/{day}"))
             {
             {
-                if (blobItem.Name.EndsWith(".json"))
+                if (blobItem.Name.EndsWith(".json") && !blobItem.Name.EndsWith("/days.json"))
                 {
                 {
                     BlobClient tempClient = blobCilent.GetBlobClient(blobItem.Name);
                     BlobClient tempClient = blobCilent.GetBlobClient(blobItem.Name);
                     if (await tempClient.ExistsAsync())
                     if (await tempClient.ExistsAsync())