|
@@ -144,7 +144,7 @@ namespace TEAMModelOS.SDK.Services
|
|
}
|
|
}
|
|
await azureCosmos.GetCosmosClient().GetContainer(Constant.TEAMModelOS, tbname).UpsertItemAsync(chapter);
|
|
await azureCosmos.GetCosmosClient().GetContainer(Constant.TEAMModelOS, tbname).UpsertItemAsync(chapter);
|
|
List<SyllabusTree> trees = SyllabusService.ListToTree(chapter.children);
|
|
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);
|
|
treeNodes.Add(tree);
|
|
|
|
|
|
}
|
|
}
|