稽查保存Ivus和Oct
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
dce62d076b
commit
424441a3fc
|
@ -3232,10 +3232,31 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
|
|
||||||
entity.RowMark = entity.OrderMark + entity.RowIndex.GetLesionMark();
|
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()
|
await InsertInspection<ReadingTableAnswerRowInfo>(entity, type, x => new InspectionConvertDTO()
|
||||||
{
|
{
|
||||||
|
ExtraIndentification = extraIdentification,
|
||||||
VisitTaskId = x.VisitTaskId,
|
VisitTaskId = x.VisitTaskId,
|
||||||
|
|
||||||
ObjectRelationParentId = x.VisitTaskId,
|
ObjectRelationParentId = x.VisitTaskId,
|
||||||
|
|
Loading…
Reference in New Issue