|
|
@ -471,7 +471,7 @@ namespace Shentun.Peis.ImportLisResults |
|
|
var config = configurationBuilder.Build(); |
|
|
var config = configurationBuilder.Build(); |
|
|
Guid execOrganizationUnitId = Guid.Parse(config.GetSection("Interface").GetSection("ExecOrganizationUnitId").Value); |
|
|
Guid execOrganizationUnitId = Guid.Parse(config.GetSection("Interface").GetSection("ExecOrganizationUnitId").Value); |
|
|
Guid columnReferenId = Guid.Parse(config.GetSection("Interface").GetSection("ColumnReferenId").Value); |
|
|
Guid columnReferenId = Guid.Parse(config.GetSection("Interface").GetSection("ColumnReferenId").Value); |
|
|
|
|
|
|
|
|
|
|
|
Guid userColumnReferenId= Guid.Parse(config.GetSection("Interface").GetSection("UserColumnReferenId").Value); |
|
|
|
|
|
|
|
|
List<CreateImportLisResultDto> inputDtoList = new List<CreateImportLisResultDto>(); |
|
|
List<CreateImportLisResultDto> inputDtoList = new List<CreateImportLisResultDto>(); |
|
|
|
|
|
|
|
|
@ -483,6 +483,19 @@ namespace Shentun.Peis.ImportLisResults |
|
|
throw new UserFriendlyException($"项目编号:{item.ItemId}没有对照"); |
|
|
throw new UserFriendlyException($"项目编号:{item.ItemId}没有对照"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//转换检查医生ID
|
|
|
|
|
|
var checkDoctorUserId = (await _columnReferenceCodeManager.GetColumnReferenCodeValueAsync(userColumnReferenId, item.CheckDoctorName)).FirstOrDefault(); |
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(checkDoctorUserId)) |
|
|
|
|
|
{ |
|
|
|
|
|
item.CheckDoctorName = checkDoctorUserId; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//转换审核医生ID
|
|
|
|
|
|
var lisAuditorDoctorUserId = (await _columnReferenceCodeManager.GetColumnReferenCodeValueAsync(userColumnReferenId, item.LisAuditorDoctorName)).FirstOrDefault(); |
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(lisAuditorDoctorUserId)) |
|
|
|
|
|
{ |
|
|
|
|
|
item.LisAuditorDoctorName = lisAuditorDoctorUserId; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
foreach (var codeValue in codeValues) |
|
|
foreach (var codeValue in codeValues) |
|
|
{ |
|
|
{ |
|
|
|