|
@@ -121,7 +121,6 @@ namespace TEAMModelOS.SDK
|
|
string tbname = list.scope.Equals("private") ? "Teacher" : "School";
|
|
string tbname = list.scope.Equals("private") ? "Teacher" : "School";
|
|
list.tcount = list.members.Where(x => x.type == 1).Count();
|
|
list.tcount = list.members.Where(x => x.type == 1).Count();
|
|
list.scount = list.members.Where(x => x.type == 2).Count();
|
|
list.scount = list.members.Where(x => x.type == 2).Count();
|
|
- await client.GetContainer(Constant.TEAMModelOS, tbname).UpsertItemAsync(list, new PartitionKey(list.code));
|
|
|
|
//学生名单,教研组会触发活动中间表刷新
|
|
//学生名单,教研组会触发活动中间表刷新
|
|
if (list.type.Equals("teach") || list.type.Equals("research") || list.type.Equals("yxtrain"))
|
|
if (list.type.Equals("teach") || list.type.Equals("research") || list.type.Equals("yxtrain"))
|
|
{
|
|
{
|
|
@@ -232,6 +231,7 @@ namespace TEAMModelOS.SDK
|
|
await _serviceBus.GetServiceBusClient().SendMessageAsync(ActiveTask, messageChange);
|
|
await _serviceBus.GetServiceBusClient().SendMessageAsync(ActiveTask, messageChange);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ await client.GetContainer(Constant.TEAMModelOS, tbname).UpsertItemAsync(list, new PartitionKey(list.code));
|
|
return list;
|
|
return list;
|
|
}
|
|
}
|
|
public static async Task<GroupList> CheckListNo(GroupList list, AzureCosmosFactory _azureCosmos, DingDing _dingDing, Option _option)
|
|
public static async Task<GroupList> CheckListNo(GroupList list, AzureCosmosFactory _azureCosmos, DingDing _dingDing, Option _option)
|