|
@@ -549,8 +549,8 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
if (!string.IsNullOrEmpty($"{tmdId}"))
|
|
if (!string.IsNullOrEmpty($"{tmdId}"))
|
|
{
|
|
{
|
|
schoolIds = await CommonFind.FindSchoolIds(cosmosClient, $"{tmdId}");
|
|
schoolIds = await CommonFind.FindSchoolIds(cosmosClient, $"{tmdId}");
|
|
- string scsSql = BICommonWay.ManyScSql("c.school", schoolIds);
|
|
|
|
- scCntSql.Append(scsSql);
|
|
|
|
|
|
+ string scsSql = BICommonWay.ManyScSql("c.id", schoolIds);
|
|
|
|
+ scCntSql.Append($" where {scsSql}");
|
|
}
|
|
}
|
|
|
|
|
|
if (schoolIds.Count > 0)
|
|
if (schoolIds.Count > 0)
|