|
@@ -1100,7 +1100,7 @@ namespace TEAMModelOS.Controllers
|
|
|
string code = string.Empty;
|
|
|
if (ids.Any() && ids.Count > 0)
|
|
|
{
|
|
|
- string sql = $"select value c.id from c where c.id in ({string.Join(",", ids.Select(x => $"'{x}'"))})";
|
|
|
+ string sql = $"select value c.id from c where c.id in ({string.Join(",", ids.Select(x => $"'{x}'"))}) ";
|
|
|
switch (true)
|
|
|
{
|
|
|
case bool when prefix.Equals("exam", StringComparison.OrdinalIgnoreCase):
|
|
@@ -1143,6 +1143,7 @@ namespace TEAMModelOS.Controllers
|
|
|
{
|
|
|
tbname = scope.ToString().Equals("school") ? Constant.School : Constant.Teacher;
|
|
|
code = scope.ToString().Equals("school") ? $"LessonRecord-{containerName}" : "LessonRecord";
|
|
|
+ sql =$"{sql} and c.status<>404 ";
|
|
|
break;
|
|
|
}
|
|
|
}
|