项目检查技术修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
e1755eb11a
commit
4c60a32c7e
|
@ -328,6 +328,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
trial.DeclarationTypes = $"|{string.Join('|', updateModel.DeclarationTypeEnumList.Select(x => ((int)x).ToString()).ToList())}|";
|
||||
trial.AttendedReviewerTypes = $"|{string.Join('|', updateModel.AttendedReviewerTypeEnumList.Select(x => ((int)x).ToString()).ToList())}|";
|
||||
|
||||
trial.UpdateTime = DateTime.Now;
|
||||
|
||||
var success = await _trialRepository.SaveChangesAsync();
|
||||
|
||||
//维护CRO Sponsor
|
||||
|
|
|
@ -169,6 +169,13 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
var memoryClinicalDataSetNameList = entitys.Where(x => x.Entity.GetType() == typeof(ClinicalDataTrialSet)).Select(t => t.Entity as ClinicalDataTrialSet)
|
||||
.Where(t => t.TrialId == entity.Id && t.IsConfirm).Select(t => _userInfo.IsEn_Us ? t.ClinicalDataSetEnName : t.ClinicalDataSetName).ToList();
|
||||
|
||||
//项目字典TrialDictionary
|
||||
|
||||
var memoryModalityIdList = entitys.Where(x => x.Entity.GetType() == typeof(TrialDictionary)).Select(t => t.Entity as TrialDictionary)
|
||||
.Where(t => t.TrialId == entity.Id && t.KeyName == StaticData.Modality).Select(t => t.DictionaryId).ToList();
|
||||
|
||||
var modalityList = _dbContext.Dictionary.Where(t => memoryModalityIdList.Contains(t.Id)).Select(t => _userInfo.IsEn_Us ? t.Value : t.ValueCN).ToList();
|
||||
|
||||
|
||||
Guid id = entity.Id;
|
||||
var oldentity = await _dbContext.Trial.Where(x => x.Id == id).Select(t => new
|
||||
|
@ -210,6 +217,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
ExtraIndentification = extraIdentification,
|
||||
}, new
|
||||
{
|
||||
ModalityListStr = string.Join(",", modalityList),
|
||||
//TrialDicList = string.Join(",", trialDics)
|
||||
|
||||
//CalledAE = trialDicomAE?.CalledAE,
|
||||
|
@ -224,7 +232,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
ClinicalDataSetNames = string.Join(",", clinicalDataSetNameList.Union(memoryClinicalDataSetNameList).Distinct().OrderBy(t => t)),
|
||||
|
||||
|
||||
}); ;
|
||||
});
|
||||
}
|
||||
|
||||
#region 已修改
|
||||
|
|
Loading…
Reference in New Issue