Browse Source

Merge branch 'PL/develop-BI' into develop

Li 2 years ago
parent
commit
6c6e6511d4
1 changed files with 1 additions and 1 deletions
  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}");