|
@@ -1717,6 +1717,9 @@ namespace TEAMModelOS.SDK
|
|
}
|
|
}
|
|
School schoolBase = await client.GetContainer(Constant.TEAMModelOS, Constant.School).ReadItemAsync<School>($"{schoolCode}", new PartitionKey("Base"));
|
|
School schoolBase = await client.GetContainer(Constant.TEAMModelOS, Constant.School).ReadItemAsync<School>($"{schoolCode}", new PartitionKey("Base"));
|
|
List<PortraitStudent> students = _students.ToObject<List<PortraitStudent>>();
|
|
List<PortraitStudent> students = _students.ToObject<List<PortraitStudent>>();
|
|
|
|
+ if (students.IsEmpty()) {
|
|
|
|
+ return responseData = new() { code = RespondCode.ParamsError, msg = "没有学生数据" };
|
|
|
|
+ }
|
|
List<(Student studentBase, PortraitStudent portrait)> studentsBases = new List<(Student, PortraitStudent)>();
|
|
List<(Student studentBase, PortraitStudent portrait)> studentsBases = new List<(Student, PortraitStudent)>();
|
|
//学生信息不匹配的
|
|
//学生信息不匹配的
|
|
List<PortraitStudent> unmatchStuInfo = new List<PortraitStudent>();
|
|
List<PortraitStudent> unmatchStuInfo = new List<PortraitStudent>();
|