|
@@ -388,12 +388,13 @@ namespace TEAMModelBI.Controllers.Census
|
|
|
|
|
|
return Ok(new { state = 200, scCnt=scIds.Count(), tLessCnt, tActCnt });
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 未加区的学校统计
|
|
|
/// </summary>
|
|
|
/// <param name="jsonElement"></param>
|
|
|
/// <returns></returns>
|
|
|
+ [ProducesDefaultResponseType]
|
|
|
[HttpPost("get-noareasc")]
|
|
|
public async Task<IActionResult> GetNoAareaScCnt(JsonElement jsonElement)
|
|
|
{
|
|
@@ -484,6 +485,21 @@ namespace TEAMModelBI.Controllers.Census
|
|
|
return Ok(new { state = RespondCode.Ok, scCnt = scIds.Count, tchCnt, stuCnt, allCnt = tLessCnt + tActCnt, tLessCnt, tActCnt});
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 学校统计
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="jsonElement"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ [ProducesDefaultResponseType]
|
|
|
+ [HttpPost("get-scstats")]
|
|
|
+ public async Task<IActionResult> GetSchoolStats(JsonElement jsonElement)
|
|
|
+ {
|
|
|
+ if (!jsonElement.TryGetProperty("scId", out JsonElement scId)) return BadRequest();
|
|
|
+
|
|
|
+
|
|
|
+ return Ok(new { state = RespondCode.Ok});
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
/// <summary>
|
|
|
/// 依据Id查询School容器 数据管理工具——查询工具
|