绑定标记
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
he 2025-12-18 13:46:22 +08:00
parent 2591a794bf
commit 70b8c23e41
2 changed files with 38 additions and 2 deletions

View File

@ -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;
} }

View File

@ -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;
} }