|
@@ -1647,7 +1647,8 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
yearCnt.lessCnt = await CommonFind.GetSqlValueCount(cosmosClient, "School", selessSql);
|
|
yearCnt.lessCnt = await CommonFind.GetSqlValueCount(cosmosClient, "School", selessSql);
|
|
|
|
|
|
string interactSql = $"select value(sum(c.clientInteractionAverge)) from c where c.pk='LessonRecord' and {scSql} and c.startTime >= {item.start} and c.startTime <= {item.end}";
|
|
string interactSql = $"select value(sum(c.clientInteractionAverge)) from c where c.pk='LessonRecord' and {scSql} and c.startTime >= {item.start} and c.startTime <= {item.end}";
|
|
- yearCnt.interCnt = await CommonFind.GetSqlValueDoubleCounnt(cosmosClient, "School", interactSql);
|
|
|
|
|
|
+ //double iCnt = await CommonFind.GetSqlValueDoubleCounnt(cosmosClient, "School", interactSql);
|
|
|
|
+ yearCnt.interCnt = await CommonFind.GetSqlValueCount(cosmosClient, "School", interactSql);
|
|
|
|
|
|
string mthActSql = $"and {scSql} and c.createTime >= {item.start} and c.createTime <= {item.end}";
|
|
string mthActSql = $"and {scSql} and c.createTime >= {item.start} and c.createTime <= {item.end}";
|
|
yearCnt.actCnt = await ActivityWay.GetCnt(cosmosClient, condSql: mthActSql);
|
|
yearCnt.actCnt = await ActivityWay.GetCnt(cosmosClient, condSql: mthActSql);
|