|
@@ -214,7 +214,7 @@ namespace TEAMModelOS.Controllers.Common
|
|
|
if (!_paperId.ValueKind.Equals(JsonValueKind.Null) && !_examId.ValueKind.Equals(JsonValueKind.Null) && !string.IsNullOrEmpty($"{ _examId}") && !string.IsNullOrEmpty($"{ _paperId}"))
|
|
|
{
|
|
|
string code = "";
|
|
|
- if (string.IsNullOrEmpty($"{_owner}") && $"{_owner}".Equals("school", StringComparison.OrdinalIgnoreCase)) {
|
|
|
+ if (!string.IsNullOrEmpty($"{_owner}") && $"{_owner}".Equals("school", StringComparison.OrdinalIgnoreCase)) {
|
|
|
code = $"Exam-{sheet.school}";
|
|
|
sheet.scope = "school";
|
|
|
}
|