拷贝病灶修改
parent
3c532389d9
commit
9ec97f7d37
|
@ -40,7 +40,7 @@
|
||||||
"Port": 465,
|
"Port": 465,
|
||||||
"Host": "smtp.qiye.aliyun.com",
|
"Host": "smtp.qiye.aliyun.com",
|
||||||
"FromEmail": "study@extimaging.com",
|
"FromEmail": "study@extimaging.com",
|
||||||
"FromName": "study.extimaging",
|
"FromName": "研究单位阅片系统",
|
||||||
"AuthorizationCode": "zhanying123",
|
"AuthorizationCode": "zhanying123",
|
||||||
"SiteUrl": "https://study.extimaging.com/login"
|
"SiteUrl": "https://study.extimaging.com/login"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1446,8 +1446,12 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
||||||
|
|
||||||
foreach (var item in readingTableAnswerRowInfoList)
|
foreach (var item in readingTableAnswerRowInfoList)
|
||||||
{
|
{
|
||||||
|
var originalVisitTaskId = item.VisitTaskId;
|
||||||
|
var originalFristAddTaskId = item.FristAddTaskId;
|
||||||
|
|
||||||
item.Id = NewId.NextSequentialGuid();
|
item.Id = NewId.NextSequentialGuid();
|
||||||
item.VisitTaskId = newTask.Id;
|
item.VisitTaskId = newTask.Id;
|
||||||
|
item.FristAddTaskId = originalVisitTaskId == originalFristAddTaskId ? newTask.Id : item.FristAddTaskId;
|
||||||
|
|
||||||
foreach (var item2 in item.LesionAnswerList)
|
foreach (var item2 in item.LesionAnswerList)
|
||||||
{
|
{
|
||||||
|
@ -1460,15 +1464,7 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
||||||
_ = _repository.AddRangeAsync(readingTableAnswerRowInfoList).Result;
|
_ = _repository.AddRangeAsync(readingTableAnswerRowInfoList).Result;
|
||||||
|
|
||||||
|
|
||||||
//var readingTableQuestionAnswerList = _repository.Where<ReadingTableQuestionAnswer>(t => t.VisitTaskId == origenalTask.Id).ToList();
|
|
||||||
|
|
||||||
//foreach (var item in readingTableQuestionAnswerList)
|
|
||||||
//{
|
|
||||||
// item.Id = Guid.Empty;
|
|
||||||
// item.VisitTaskId = newTask.Id;
|
|
||||||
//}
|
|
||||||
|
|
||||||
//_ = _repository.AddRangeAsync(readingTableQuestionAnswerList).Result;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue