瀏覽代碼

课例总数统计

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

+ 1 - 1
TEAMModelBI/Controllers/BISchool/SchoolController.cs

@@ -1572,7 +1572,7 @@ namespace TEAMModelBI.Controllers.BISchool
                 tchAllCnt += await CommonFind.GetSqlValueCount(cosmosClient, "School", tchAllSql, $"Teacher-{item.id}");
 
                 string lessALLSql = "select value(count(c.id)) from c where c.pk='LessonRecord'";
-                lessAllCnt = await CommonFind.GetSqlValueCount(cosmosClient, "School", lessALLSql, $"LessonRecord-{item.id}");
+                lessAllCnt += await CommonFind.GetSqlValueCount(cosmosClient, "School", lessALLSql, $"LessonRecord-{item.id}");
 
                 string lessUpSql = $"select value(count(c.id)) from c where c.pk='LessonRecord' and c.upload = 0";
                 lessRankCnt.openCnt = await CommonFind.GetSqlValueCount(cosmosClient, "School", lessMoSql, $"LessonRecord-{item.id}");