修改导表bug
parent
2f4418e3ed
commit
7f4e111f7d
|
@ -1369,6 +1369,7 @@ namespace IRaCIS.Core.Application.Service.Common
|
||||||
var clone = c.Clone();
|
var clone = c.Clone();
|
||||||
clone.LessionCode = u.LessionCode;
|
clone.LessionCode = u.LessionCode;
|
||||||
clone.LessionType = u.LessionType;
|
clone.LessionType = u.LessionType;
|
||||||
|
clone.BeforeTranslateLessionTypeValue = u.LessionType;
|
||||||
|
|
||||||
clone.IsLymph = u.IsLymph;
|
clone.IsLymph = u.IsLymph;
|
||||||
|
|
||||||
|
|
|
@ -977,7 +977,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
//病灶类型
|
//病灶类型
|
||||||
public string LessionType { get; set; }
|
public string LessionType { get; set; }
|
||||||
|
|
||||||
|
public string BeforeTranslateLessionTypeValue { get; set; }
|
||||||
|
|
||||||
//是否淋巴结
|
//是否淋巴结
|
||||||
[DictionaryTranslateAttribute("IsLymph")]
|
[DictionaryTranslateAttribute("IsLymph")]
|
||||||
|
@ -1002,7 +1002,9 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
//短径
|
//短径
|
||||||
public string ShortDiameter { get; set; }
|
public string ShortDiameter { get; set; }
|
||||||
|
|
||||||
[DictionaryTranslateAttribute("TargetState")]
|
[DictionaryTranslateAttribute("TargetState", nameof(RECIST1Point1DetailedOfEvaluatedLesionExport.BeforeTranslateLessionTypeValue), "0")]
|
||||||
|
[DictionaryTranslateAttribute("NoTargetState", nameof(RECIST1Point1DetailedOfEvaluatedLesionExport.BeforeTranslateLessionTypeValue), "1")]
|
||||||
|
[DictionaryTranslateAttribute("NewLesionState", nameof(RECIST1Point1DetailedOfEvaluatedLesionExport.BeforeTranslateLessionTypeValue), "2")]
|
||||||
//病灶状态
|
//病灶状态
|
||||||
public string LessionState { get; set; }
|
public string LessionState { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -206,8 +206,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
//位置可能是自己填写的
|
//位置可能是自己填写的
|
||||||
.ForMember(o => o.LessionLocation, t =>
|
.ForMember(o => o.LessionLocation, t =>
|
||||||
//t.MapFrom(u => u.LesionAnswerList.Where(c => c.ReadingTableQuestionTrial.QuestionMark == QuestionMark.Location).FirstOrDefault().Answer)
|
//t.MapFrom(u => u.LesionAnswerList.Where(c => c.ReadingTableQuestionTrial.QuestionMark == QuestionMark.Location).FirstOrDefault().Answer)
|
||||||
t.MapFrom(u => u.OrganInfo.IsCanEditPosition?
|
t.MapFrom(u => isEn_Us ? u.OrganInfo.PartEN : u.OrganInfo.Part)
|
||||||
u.LesionAnswerList.Where(c => c.ReadingTableQuestionTrial.QuestionMark == QuestionMark.Location).FirstOrDefault()!.Answer: isEn_Us ? u.OrganInfo.TULATEN : u.OrganInfo.TULAT)
|
|
||||||
)
|
)
|
||||||
.ForMember(o => o.LessionOrgan, t =>
|
.ForMember(o => o.LessionOrgan, t =>
|
||||||
//t.MapFrom(u => u.LesionAnswerList.Where(c => c.ReadingTableQuestionTrial.QuestionMark == QuestionMark.Organ).FirstOrDefault().Answer)
|
//t.MapFrom(u => u.LesionAnswerList.Where(c => c.ReadingTableQuestionTrial.QuestionMark == QuestionMark.Organ).FirstOrDefault().Answer)
|
||||||
|
@ -215,7 +215,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
)
|
)
|
||||||
.ForMember(o => o.BodyPartDescription, t =>
|
.ForMember(o => o.BodyPartDescription, t =>
|
||||||
//t.MapFrom(u => u.LesionAnswerList.Where(c => c.ReadingTableQuestionTrial.QuestionMark == QuestionMark.Part).FirstOrDefault().Answer)
|
//t.MapFrom(u => u.LesionAnswerList.Where(c => c.ReadingTableQuestionTrial.QuestionMark == QuestionMark.Part).FirstOrDefault().Answer)
|
||||||
t.MapFrom(u => isEn_Us? u.OrganInfo.PartEN : u.OrganInfo.Part)
|
t.MapFrom(u => u.OrganInfo.IsCanEditPosition ?
|
||||||
|
u.LesionAnswerList.Where(c => c.ReadingTableQuestionTrial.QuestionMark == QuestionMark.Location).FirstOrDefault()!.Answer : isEn_Us ? u.OrganInfo.TULATEN : u.OrganInfo.TULAT)
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue