稽查保存Ivus和Oct
parent
6374781d26
commit
1b4bc3690a
|
@ -3232,10 +3232,31 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
|
||||
entity.RowMark = entity.OrderMark + entity.RowIndex.GetLesionMark();
|
||||
|
||||
string extraIdentification = string.Empty;
|
||||
|
||||
if (type == AuditOpt.Add)
|
||||
{
|
||||
var readingQuestion = await _dbContext.ReadingQuestionTrial.Where(t => t.Id == entity.QuestionId).FirstOrDefaultAsync();
|
||||
|
||||
List<LesionType?> lesionTypeList = new List<LesionType?>()
|
||||
{
|
||||
LesionType.MatchValues,
|
||||
LesionType.PatchDataStatistics,
|
||||
LesionType.PAV,
|
||||
LesionType.FCT,
|
||||
LesionType.LipidAngle,
|
||||
|
||||
};
|
||||
if (lesionTypeList.Contains(readingQuestion.LesionType))
|
||||
{
|
||||
extraIdentification = "/" + readingQuestion.LesionType.GetEnumNullInt();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
await InsertInspection<ReadingTableAnswerRowInfo>(entity, type, x => new InspectionConvertDTO()
|
||||
{
|
||||
ExtraIndentification = extraIdentification,
|
||||
VisitTaskId = x.VisitTaskId,
|
||||
|
||||
ObjectRelationParentId = x.VisitTaskId,
|
||||
|
|
Loading…
Reference in New Issue