医学审核对话增加用户类型

Test.EIImageViewer
{872297557@qq.com} 2022-12-29 11:29:24 +08:00
parent 523f09d8aa
commit c15ef3137c
1 changed files with 14 additions and 0 deletions

View File

@ -585,6 +585,18 @@ namespace IRaCIS.Core.Infra.EFCore.Common
var entity = item.Entity as ReadingMedicalReviewDialog;
var extraIdentification = string.Empty;
//失效的时候 不区分标识
if (_userInfo.UserTypeEnumInt==(int)UserTypeEnum.MIM)
{
extraIdentification = $"/MIM";
}
else
{
extraIdentification = $"/IR";
}
await InsertInspection<ReadingMedicalReviewDialog>(entity, type, x => new InspectionConvertDTO()
{
IsDistinctionInterface = false,
@ -592,6 +604,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
ObjectRelationParentId = entity.TaskMedicalReviewId,
ExtraIndentification=extraIdentification
});
}