稽查调整
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
1bc3e77c1a
commit
cc1ae55480
|
|
@ -1336,6 +1336,11 @@
|
||||||
OCT 导表模型
|
OCT 导表模型
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Common.OctExportDto.DOST">
|
||||||
|
<summary>
|
||||||
|
斑块到血管开口的距离
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Common.OctExportDto.TARGETV">
|
<member name="P:IRaCIS.Core.Application.Service.Common.OctExportDto.TARGETV">
|
||||||
<summary>靶段</summary>
|
<summary>靶段</summary>
|
||||||
</member>
|
</member>
|
||||||
|
|
@ -2738,7 +2743,7 @@
|
||||||
<param name="_dicomStudyRepository"></param>
|
<param name="_dicomStudyRepository"></param>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Service.ImageAndDoc.DownloadAndUploadService.GetIRUploadTaskNoneDicomStudyList(IRaCIS.Core.Application.Contracts.IRUploadStudyQuery)">
|
<member name="M:IRaCIS.Core.Application.Service.ImageAndDoc.DownloadAndUploadService.GetIRUploadTaskNoneDicomStudyList(IRaCIS.Core.Application.Contracts.INoneDicomStudyService,IRaCIS.Core.Application.Contracts.IRUploadStudyQuery)">
|
||||||
<summary>
|
<summary>
|
||||||
IR 上传任务 nonedicom 列表 后处理的数据UploadedFileCount不能排序 --new
|
IR 上传任务 nonedicom 列表 后处理的数据UploadedFileCount不能排序 --new
|
||||||
</summary>
|
</summary>
|
||||||
|
|
|
||||||
|
|
@ -2819,7 +2819,9 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
//ObjectRelationParentId2 = x.IsVisit == false?x.ReadingId:null
|
//ObjectRelationParentId2 = x.IsVisit == false?x.ReadingId:null
|
||||||
},
|
},
|
||||||
new { FileCountViewStr = config?.ClinicalDataLevel == ClinicalLevel.Subject && config?.ClinicalUploadType == ClinicalUploadType.Table ? "NA" : entity.FileCount.ToString() },
|
new { FileCountViewStr = config?.ClinicalDataLevel == ClinicalLevel.Subject && config?.ClinicalUploadType == ClinicalUploadType.Table ? "NA" : entity.FileCount.ToString() },
|
||||||
extraIndentification
|
new OtherInspection() {
|
||||||
|
AuditIdentification= extraIndentification
|
||||||
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -3611,7 +3613,31 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
TableQuestionName = tableQuestionName,
|
TableQuestionName = tableQuestionName,
|
||||||
Answer = answer,
|
Answer = answer,
|
||||||
LiverSegmentation = liverSegmentation,
|
LiverSegmentation = liverSegmentation,
|
||||||
}, string.Empty, customPrefix);
|
},
|
||||||
|
|
||||||
|
new OtherInspection()
|
||||||
|
{
|
||||||
|
CustomPrefix = customPrefix
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingNoneDicomMark)))
|
||||||
|
{
|
||||||
|
var type = GetEntityAuditOpt(item);
|
||||||
|
|
||||||
|
var entity = item.Entity as ReadingNoneDicomMark;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
await InsertInspection<ReadingNoneDicomMark>(entity, type, x => new InspectionConvertDTO()
|
||||||
|
{
|
||||||
|
IsDistinctionInterface = false,
|
||||||
|
|
||||||
|
}, new
|
||||||
|
{
|
||||||
|
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//保存影像质量 多条记录,只记录一条稽查
|
//保存影像质量 多条记录,只记录一条稽查
|
||||||
|
|
@ -3785,7 +3811,10 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
}).OrderBy(t => t.ShowOrder).ToList()
|
}).OrderBy(t => t.ShowOrder).ToList()
|
||||||
,
|
,
|
||||||
TableQuestionAndAnswerList = tableQuesionAndAnswerList
|
TableQuestionAndAnswerList = tableQuesionAndAnswerList
|
||||||
}, _userInfo.AuditIdentification
|
}, new OtherInspection()
|
||||||
|
{
|
||||||
|
AuditIdentification = _userInfo.AuditIdentification
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -3841,7 +3870,10 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
QuestionName = questionName,
|
QuestionName = questionName,
|
||||||
RowMark = rowMark,
|
RowMark = rowMark,
|
||||||
TableQuestionName = _userInfo.IsEn_Us ? tableQuestion.QuestionEnName : tableQuestion.QuestionName,
|
TableQuestionName = _userInfo.IsEn_Us ? tableQuestion.QuestionEnName : tableQuestion.QuestionName,
|
||||||
}, _userInfo.AuditIdentification);
|
}, new OtherInspection()
|
||||||
|
{
|
||||||
|
AuditIdentification = _userInfo.AuditIdentification
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -3963,7 +3995,10 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
u.ShowOrder
|
u.ShowOrder
|
||||||
}
|
}
|
||||||
).OrderBy(t => t.ShowOrder).ToList()
|
).OrderBy(t => t.ShowOrder).ToList()
|
||||||
}, _userInfo.AuditIdentification);
|
}, new OtherInspection()
|
||||||
|
{
|
||||||
|
AuditIdentification = _userInfo.AuditIdentification
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
////添加/修改病灶接口 只会对单个病灶进行操作
|
////添加/修改病灶接口 只会对单个病灶进行操作
|
||||||
|
|
@ -4200,11 +4235,14 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
/// <param name="auditIdentification">额外标识</param>
|
/// <param name="auditIdentification">额外标识</param>
|
||||||
/// <param name="customPrefix">自定义前缀</param>
|
/// <param name="customPrefix">自定义前缀</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async Task InsertInspection<T>(T entityObj, string type, Expression<Func<T, InspectionConvertDTO>> expression = null, object otherItem = null, string auditIdentification = "", string customPrefix = "") where T : Entity
|
public async Task InsertInspection<T>(T entityObj, string type, Expression<Func<T, InspectionConvertDTO>> expression = null, object otherItem = null, OtherInspection? otherInspection=null) where T : Entity
|
||||||
{
|
{
|
||||||
|
|
||||||
InspectionConvertDTO inspection = new InspectionConvertDTO();
|
InspectionConvertDTO inspection = new InspectionConvertDTO();
|
||||||
|
if (otherInspection == null)
|
||||||
|
{
|
||||||
|
otherInspection = new OtherInspection() { };
|
||||||
|
}
|
||||||
|
|
||||||
if (expression != null)
|
if (expression != null)
|
||||||
{
|
{
|
||||||
|
|
@ -4218,7 +4256,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
var generalId = (inspection.GeneralId != null && inspection.GeneralId != Guid.Empty) ? inspection.GeneralId : entityObj.Id;
|
var generalId = (inspection.GeneralId != null && inspection.GeneralId != Guid.Empty) ? inspection.GeneralId : entityObj.Id;
|
||||||
inspection.GeneralId = generalId;
|
inspection.GeneralId = generalId;
|
||||||
|
|
||||||
inspection.Identification = GetInspectionRecordIdentification(entityObj, type, inspection.IsDistinctionInterface, inspection.IsSelfDefine, auditIdentification, customPrefix) + inspection.ExtraIndentification;
|
inspection.Identification = GetInspectionRecordIdentification(entityObj, type, inspection.IsDistinctionInterface, inspection.IsSelfDefine, otherInspection.AuditIdentification, otherInspection.CustomPrefix) + inspection.ExtraIndentification;
|
||||||
|
|
||||||
//将实体对象属性 映射到稽查实体
|
//将实体对象属性 映射到稽查实体
|
||||||
MapEntityPropertyToAuditEntity(entityObj, inspection);
|
MapEntityPropertyToAuditEntity(entityObj, inspection);
|
||||||
|
|
|
||||||
|
|
@ -79,6 +79,19 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
|
|
||||||
public bool? IsReadingReset { get; set; }
|
public bool? IsReadingReset { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class OtherInspection
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义后缀
|
||||||
|
/// </summary>
|
||||||
|
public string AuditIdentification { get; set; }=string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义前缀
|
||||||
|
/// </summary>
|
||||||
|
public string CustomPrefix { get; set; } = string.Empty;
|
||||||
|
}
|
||||||
public class InspectionConvertDTO : DataInspection
|
public class InspectionConvertDTO : DataInspection
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue