zhouj1203@hotmail.com il y a 3 ans
Parent
commit
143c4a957f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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<object> courses = new List<object>();
                 List<(string id, string name, string scope)> teacherCourse = new();
                 List<(string id, string name, string scope)> teacherCourse = new();
                 List<(string id, string name, string scope)> tcCourse = 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";
                 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()}") }))
                 await foreach (var item in client.GetContainer("TEAMModelOS", "Teacher").GetItemQueryStreamIterator(queryText: query, requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey($"Course-{code.GetString()}") }))