CrazyIter_Bin 2 years ago
parent
commit
89596c0c3b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      TEAMModelOS.SDK/Models/Service/Common/SyllabusService.cs

+ 1 - 1
TEAMModelOS.SDK/Models/Service/Common/SyllabusService.cs

@@ -144,7 +144,7 @@ namespace TEAMModelOS.SDK.Services
                 }
                 await azureCosmos.GetCosmosClient().GetContainer(Constant.TEAMModelOS, tbname).UpsertItemAsync(chapter);
                 List<SyllabusTree> trees = SyllabusService.ListToTree(chapter.children);
-                SyllabusTreeNode tree = new SyllabusTreeNode() { id = chapter.id, scope = chapter.scope, trees = trees, volumeId = chapter.volumeId, auth = chapter.auth, codeval = volume.school };
+                SyllabusTreeNode tree = new SyllabusTreeNode() { id = chapter.id, scope = chapter.scope, trees = trees, volumeId = chapter.volumeId, auth = chapter.auth, codeval = code };
                 treeNodes.Add(tree);
 
             }