保存测量值
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
a51130b4ea
commit
b44c92f291
|
@ -3234,24 +3234,12 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
|
|
||||||
string extraIdentification = string.Empty;
|
string extraIdentification = string.Empty;
|
||||||
|
|
||||||
if (type == AuditOpt.Add)
|
var readingQuestion = await _dbContext.ReadingQuestionTrial.Where(t => t.Id == entity.QuestionId).Include(x=>x.ReadingQuestionCriterionTrial).FirstNotNullAsync();
|
||||||
|
if (readingQuestion.ReadingQuestionCriterionTrial.CriterionGroup == CriterionGroup.Nontumorous)
|
||||||
{
|
{
|
||||||
var readingQuestion = await _dbContext.ReadingQuestionTrial.Where(t => t.Id == entity.QuestionId).FirstOrDefaultAsync();
|
extraIdentification = "/Nontumorous";
|
||||||
|
|
||||||
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()
|
||||||
|
|
Loading…
Reference in New Issue