绑定标记
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
2591a794bf
commit
70b8c23e41
|
|
@ -3622,11 +3622,15 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
|
|
||||||
var entity = item.Entity as ReadingNoneDicomMark;
|
var entity = item.Entity as ReadingNoneDicomMark;
|
||||||
|
|
||||||
|
var selfDefineIdentification = "ReadingImageTask/submitCustomTag/ReadingTaskQuestionMark/";
|
||||||
|
if (type == "Deleted")
|
||||||
|
{
|
||||||
|
selfDefineIdentification = "ReadingImageTask/deleteCustomTag/ReadingTaskQuestionMark/";
|
||||||
|
}
|
||||||
|
|
||||||
await InsertInspection<ReadingNoneDicomMark>(entity, type, x => new InspectionConvertDTO()
|
await InsertInspection<ReadingNoneDicomMark>(entity, type, x => new InspectionConvertDTO()
|
||||||
{
|
{
|
||||||
IsDistinctionInterface = false,
|
SelfDefineIdentification= selfDefineIdentification + type
|
||||||
|
|
||||||
}, new
|
}, new
|
||||||
{
|
{
|
||||||
|
|
@ -3634,6 +3638,28 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingNoneDicomMarkBinding)))
|
||||||
|
{
|
||||||
|
var type = GetEntityAuditOpt(item);
|
||||||
|
|
||||||
|
var entity = item.Entity as ReadingNoneDicomMarkBinding;
|
||||||
|
|
||||||
|
//var selfDefineIdentification = "ReadingImageTask/submitCustomTag/ReadingTaskQuestionMark/";
|
||||||
|
//if (type == "Deleted")
|
||||||
|
//{
|
||||||
|
// selfDefineIdentification = "ReadingImageTask/deleteCustomTag/ReadingTaskQuestionMark/";
|
||||||
|
//}
|
||||||
|
|
||||||
|
await InsertInspection<ReadingNoneDicomMarkBinding>(entity, type, x => new InspectionConvertDTO()
|
||||||
|
{
|
||||||
|
//SelfDefineIdentification = selfDefineIdentification + type
|
||||||
|
|
||||||
|
}, new
|
||||||
|
{
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
//保存影像质量 多条记录,只记录一条稽查
|
//保存影像质量 多条记录,只记录一条稽查
|
||||||
if (entitys.Any(x => x.Entity.GetType() == typeof(ReadingTaskQuestionAnswer)))
|
if (entitys.Any(x => x.Entity.GetType() == typeof(ReadingTaskQuestionAnswer)))
|
||||||
{
|
{
|
||||||
|
|
@ -4544,6 +4570,11 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
result = inspection.CustomPrefix + "/" + result;
|
result = inspection.CustomPrefix + "/" + result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (inspection.SelfDefineIdentification.IsNotNullOrEmpty())
|
||||||
|
{
|
||||||
|
result = inspection.SelfDefineIdentification;
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -147,6 +147,11 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string CustomPrefix { get; set; } = string.Empty;
|
public string CustomPrefix { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义标识 如果当前字段部有值 则Indentification 就是当前字段
|
||||||
|
/// </summary>
|
||||||
|
public string SelfDefineIdentification { get; set; }=string.Empty;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue