|
@@ -786,7 +786,7 @@ namespace TEAMModelOS.FunctionV4.ServiceBus
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- (List<RMember> tchList, List<RGroupList> classInfos) = await GroupListService.GetStutmdidListids(_coreAPIHttpService, client, _dingDing, tch, code, ps);
|
|
|
+ (List<RMember> tchList, List<RGroupList> classInfos) = await GroupListService.GetMemberByListids(_coreAPIHttpService, client, _dingDing, tch, code, ps);
|
|
|
if (tchList.Exists(c => c.id == id))
|
|
|
{
|
|
|
gname = tchList.Where(c => c.id == id).FirstOrDefault().groupName;
|
|
@@ -1583,7 +1583,7 @@ namespace TEAMModelOS.FunctionV4.ServiceBus
|
|
|
if (lessonRecord.groupIds.IsNotEmpty())
|
|
|
{
|
|
|
HashSet<string> grades = new HashSet<string>();
|
|
|
- List<GroupListDto> groups = await GroupListService.GetGroupListListids(client, _dingDing, lessonRecord.groupIds, lessonRecord.school);
|
|
|
+ List<GroupListDto> groups = await GroupListService.GetGroupListByListids(client, _dingDing, lessonRecord.groupIds, lessonRecord.school);
|
|
|
|
|
|
List<GroupListDto> groupLists = groups?.FindAll(x => !string.IsNullOrEmpty(x.periodId) && x.year > 0 && !string.IsNullOrEmpty(x.school));
|
|
|
if (groupLists.IsNotEmpty() && !string.IsNullOrWhiteSpace(lessonRecord.periodId))
|
|
@@ -1971,7 +1971,7 @@ namespace TEAMModelOS.FunctionV4.ServiceBus
|
|
|
}
|
|
|
foreach (var cls in courseChange.addClass)
|
|
|
{
|
|
|
- (List<RMember> tchList, List<RGroupList> classLists) = await GroupListService.GetStutmdidListids(_coreAPIHttpService, client, _dingDing, new List<string> { cls }, courseChange.school);
|
|
|
+ (List<RMember> tchList, List<RGroupList> classLists) = await GroupListService.GetMemberByListids(_coreAPIHttpService, client, _dingDing, new List<string> { cls }, courseChange.school);
|
|
|
var addStudentsCls = tchList.FindAll(x => x.type == 2);
|
|
|
var addTmdidsCls = tchList.FindAll(x => x.type == 1);
|
|
|
foreach (var stu in addStudentsCls)
|
|
@@ -2053,7 +2053,7 @@ namespace TEAMModelOS.FunctionV4.ServiceBus
|
|
|
|
|
|
foreach (var list in courseChange.addList)
|
|
|
{
|
|
|
- (List<RMember> tchList, List<RGroupList> classLists) = await GroupListService.GetStutmdidListids(_coreAPIHttpService, client, _dingDing, new List<string> { list }, courseChange.school);
|
|
|
+ (List<RMember> tchList, List<RGroupList> classLists) = await GroupListService.GetMemberByListids(_coreAPIHttpService, client, _dingDing, new List<string> { list }, courseChange.school);
|
|
|
var addStudentsCls = tchList.FindAll(x => x.type == 2);
|
|
|
var addTmdidsCls = tchList.FindAll(x => x.type == 1);
|
|
|
foreach (var stu in addStudentsCls)
|
|
@@ -2135,7 +2135,7 @@ namespace TEAMModelOS.FunctionV4.ServiceBus
|
|
|
|
|
|
foreach (var delCls in courseChange.delClass)
|
|
|
{
|
|
|
- (List<RMember> tchList, List<RGroupList> classLists) = await GroupListService.GetStutmdidListids(_coreAPIHttpService, client, _dingDing, new List<string> { delCls }, courseChange.school);
|
|
|
+ (List<RMember> tchList, List<RGroupList> classLists) = await GroupListService.GetMemberByListids(_coreAPIHttpService, client, _dingDing, new List<string> { delCls }, courseChange.school);
|
|
|
var delStudentsCls = tchList.FindAll(x => x.type == 2);
|
|
|
var delTmdidsCls = tchList.FindAll(x => x.type == 1);
|
|
|
foreach (var stu in delStudentsCls)
|
|
@@ -2195,7 +2195,7 @@ namespace TEAMModelOS.FunctionV4.ServiceBus
|
|
|
}
|
|
|
foreach (var delList in courseChange.delList)
|
|
|
{
|
|
|
- (List<RMember> tchList, List<RGroupList> classLists) = await GroupListService.GetStutmdidListids(_coreAPIHttpService, client, _dingDing, new List<string> { delList }, courseChange.school);
|
|
|
+ (List<RMember> tchList, List<RGroupList> classLists) = await GroupListService.GetMemberByListids(_coreAPIHttpService, client, _dingDing, new List<string> { delList }, courseChange.school);
|
|
|
var delStudentsCls = tchList.FindAll(x => x.type == 2);
|
|
|
var delTmdidsCls = tchList.FindAll(x => x.type == 1);
|
|
|
foreach (var stu in delStudentsCls)
|