|
@@ -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}");
|