|
@@ -1042,6 +1042,13 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
|
else
|
|
|
delSchoolRels.Add(new DelSchoolRel() { id = $"{tempId}", code = "Base", type = 1, status = response.Status });
|
|
|
|
|
|
+ //删除学校信息中间
|
|
|
+ var resBiRel = await cosmosClient.GetContainer("TEAMModelOS", "School").DeleteItemStreamAsync($"{tempId}", new PartitionKey($"BIRel"));
|
|
|
+ if (response.Status == 204)
|
|
|
+ msg.AppendLine($"{tmdName}【{tmdId}】删除学校信息中间件,删除状态:{response.Status},删除ID:{tempId}");
|
|
|
+ else
|
|
|
+ delSchoolRels.Add(new DelSchoolRel() { id = $"{tempId}", code = "Base", type = 1, status = response.Status });
|
|
|
+
|
|
|
foreach (var item in scTchIds)
|
|
|
{
|
|
|
//学校教师信息
|