|
@@ -1668,7 +1668,7 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
|
int interAll = 0; //所有互动总数
|
|
|
int lastDayInterCnt = 0; // 昨天课例互动
|
|
|
int interCnt = 0; // 今天课例互动
|
|
|
- int lastYarInterCnt = 0; // 去年课例互动
|
|
|
+ int lastYearInterCnt = 0; // 去年课例互动
|
|
|
int yearInterCnt = 0; // 今年课例互动
|
|
|
|
|
|
int actAllCnt = 0; //所有活动
|
|
@@ -1708,7 +1708,7 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
|
interCnt = await CommonFind.GetSqlValueCount(cosmosClient, "School", dayInterSql);
|
|
|
|
|
|
string lastYarInterSql = $"{strInterSql} and c.startTime >= { lastYears} and c.startTime <= {lastYeare} ";
|
|
|
- lastYarInterCnt = await CommonFind.GetSqlValueCount(cosmosClient, "School", lastYarInterSql);
|
|
|
+ lastYearInterCnt = await CommonFind.GetSqlValueCount(cosmosClient, "School", lastYarInterSql);
|
|
|
|
|
|
string yearInterSql = $"{strInterSql} and c.startTime >= { years} and c.startTime <= {yeare} ";
|
|
|
yearInterCnt = await CommonFind.GetSqlValueCount(cosmosClient, "School", yearInterSql);
|
|
@@ -1729,7 +1729,7 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
|
string yearActSql = $" and {scSql} and c.createTime >= {years} and c.createTime <= {yeare}";
|
|
|
yearActCn = await ActivityWay.GetCnt(cosmosClient, yearActSql);
|
|
|
|
|
|
- return Ok(new { state = RespondCode.Ok, lessAll, lessLastdayCnt, lessDayCnt, lessLastYearCnt, lessYearCnt, interAll, lastDayInterCnt, interCnt, lastYarInterCnt, yearInterCnt, actAllCnt, lastActCnt, actCnt, lastYearActCn, yearActCn });
|
|
|
+ return Ok(new { state = RespondCode.Ok, lessAll, lessLastdayCnt, lessDayCnt, lessLastYearCnt, lessYearCnt, interAll, lastDayInterCnt, interCnt, lastYearInterCnt, yearInterCnt, actAllCnt, lastActCnt, actCnt, lastYearActCn, yearActCn });
|
|
|
}
|
|
|
|
|
|
/// <summary>
|