|
@@ -506,9 +506,9 @@ namespace TEAMModelBI.Controllers.Census
|
|
|
long resourceCount = 0; //累计资源
|
|
|
long totalTime = 0; //总学时
|
|
|
|
|
|
- scCount = await CommonFind.FindTotals(cosmosClient, $"select count(c.id) as totals form c ", "School", "Base");
|
|
|
- tecCount = await CommonFind.FindTotals(cosmosClient, $"select count(c.id) as totals form c ", "Teacher", "Base");
|
|
|
- stuCount = await CommonFind.FindTotals(cosmosClient, $"select count(c.id) as totals form c ", "Student", "Base");
|
|
|
+ scCount = await CommonFind.FindTotals(cosmosClient, $"SELECT count(c.id) as totals FROM c ", "School", "Base");
|
|
|
+ tecCount = await CommonFind.FindTotals(cosmosClient, $"SELECT count(c.id) as totals FROM c ", "Teacher", "Base");
|
|
|
+ stuCount = await CommonFind.FindTotals(cosmosClient, $"SELECT count(c.id) as totals FROM c ", "Student", "Base");
|
|
|
|
|
|
foreach (var area in areaInfos)
|
|
|
{
|