绑定标记
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
2591a794bf
commit
70b8c23e41
|
|
@ -3622,11 +3622,37 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
|
||||
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()
|
||||
{
|
||||
IsDistinctionInterface = false,
|
||||
SelfDefineIdentification= selfDefineIdentification + type
|
||||
|
||||
}, new
|
||||
{
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
|
|
@ -4544,6 +4570,11 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
result = inspection.CustomPrefix + "/" + result;
|
||||
}
|
||||
|
||||
|
||||
if (inspection.SelfDefineIdentification.IsNotNullOrEmpty())
|
||||
{
|
||||
result = inspection.SelfDefineIdentification;
|
||||
}
|
||||
return result;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -147,6 +147,11 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
/// </summary>
|
||||
public string CustomPrefix { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 自定义标识 如果当前字段部有值 则Indentification 就是当前字段
|
||||
/// </summary>
|
||||
public string SelfDefineIdentification { get; set; }=string.Empty;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue