Browse Source

课程调整

zhouj1203@hotmail.com 3 years ago
parent
commit
143c4a957f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      TEAMModelOS/Controllers/School/CourseController.cs

+ 1 - 1
TEAMModelOS/Controllers/School/CourseController.cs

@@ -1103,7 +1103,7 @@ namespace TEAMModelOS.Controllers
                 List<object> courses = new List<object>();
                 List<(string id, string name, string scope)> teacherCourse = new();
                 List<(string id, string name, string scope)> tcCourse = new();
-                List<(string name, string scope,List<(string id, string name, string type)> stuName)> ps = new();
+                List<(string id, string name,string scope,List<(string id, string name, string type)> stuName)> ps = new();
                 var query = $"select c.id,c.name,c.scope from c";
 
                 await foreach (var item in client.GetContainer("TEAMModelOS", "Teacher").GetItemQueryStreamIterator(queryText: query, requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"Course-{code.GetString()}") }))