Compare commits
No commits in common. "59d5addf7277265710f9b4a5b389da8c80789887" and "f32a66a89b94d4b21e67cc74cca968b3cf6e2443" have entirely different histories.
59d5addf72
...
f32a66a89b
|
@ -1325,17 +1325,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
|
||||
var entity = item.Entity as ReadingMedicalReviewDialog;
|
||||
|
||||
bool isHaveQuestion = false;
|
||||
if (entitys.Any(x => x.Entity.GetType() == typeof(TaskMedicalReview)))
|
||||
{
|
||||
isHaveQuestion = entitys.Where(x => x.Entity.GetType() == typeof(TaskMedicalReview)).Select(x => x.Entity as TaskMedicalReview).Select(x => x.IsHaveQuestion).FirstOrDefault();
|
||||
}
|
||||
else
|
||||
{
|
||||
isHaveQuestion = await _dbContext.TaskMedicalReview.Where(x => x.Id == entity.TaskMedicalReviewId).Select(t => t.IsHaveQuestion).FirstOrDefaultAsync();
|
||||
}
|
||||
|
||||
|
||||
var extraIdentification = string.Empty;
|
||||
|
||||
//失效的时候 不区分标识
|
||||
|
@ -1352,13 +1341,11 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
{
|
||||
IsDistinctionInterface = false,
|
||||
VisitTaskId = entity.VisitTaskId,
|
||||
|
||||
|
||||
ObjectRelationParentId = entity.TaskMedicalReviewId,
|
||||
|
||||
ExtraIndentification = extraIdentification
|
||||
|
||||
},new {
|
||||
IsHaveQuestion= isHaveQuestion,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue