Compare commits
No commits in common. "67091fd72fb91eb6b55ce0008dfac9422646be00" and "ade516d1883d54cd91fa0d94fafdcb860ac15fbe" have entirely different histories.
67091fd72f
...
ade516d188
|
@ -2095,10 +2095,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
{
|
{
|
||||||
extraIdentification = "/ConfirmSelect";
|
extraIdentification = "/ConfirmSelect";
|
||||||
}
|
}
|
||||||
else if (_userInfo.RequestUrl == "ClinicalDataSet/applyTrialClinical")
|
|
||||||
{
|
|
||||||
extraIdentification = "/applyTrialClinical";
|
|
||||||
}
|
|
||||||
|
|
||||||
//获取配置的标准名称
|
//获取配置的标准名称
|
||||||
|
|
||||||
|
@ -2139,48 +2135,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//临床数据问题
|
|
||||||
|
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TrialClinicalQuestion)))
|
|
||||||
{
|
|
||||||
var type = GetEntityAuditOpt(item);
|
|
||||||
|
|
||||||
var entity = item.Entity as TrialClinicalQuestion;
|
|
||||||
|
|
||||||
var trialId= await _dbContext.ClinicalDataTrialSet.Where(t => t.Id == entity.TrialClinicalId).Select(t => t.TrialId).FirstOrDefaultAsync();
|
|
||||||
var GroupName = entity.GroupId == null ? entity.QuestionName: _dbContext.TrialClinicalQuestion.Where(t => t.Id == entity.GroupId).Select(t => t.QuestionName).FirstOrDefault();
|
|
||||||
var GroupEnName = entity.GroupId == null ? entity.QuestionEnName : _dbContext.TrialClinicalQuestion.Where(t => t.Id == entity.GroupId).Select(t => t.QuestionEnName).FirstOrDefault();
|
|
||||||
await InsertInspection<TrialClinicalQuestion>(entity, type, x => new InspectionConvertDTO()
|
|
||||||
{
|
|
||||||
TrialId= trialId,
|
|
||||||
},
|
|
||||||
new {
|
|
||||||
GroupName= GroupName,
|
|
||||||
GroupEnName= GroupEnName,
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//临床数据表格问题
|
|
||||||
|
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TrialClinicalTableQuestion)))
|
|
||||||
{
|
|
||||||
var type = GetEntityAuditOpt(item);
|
|
||||||
|
|
||||||
var entity = item.Entity as TrialClinicalTableQuestion;
|
|
||||||
|
|
||||||
var trialId = await _dbContext.ClinicalDataTrialSet.Where(t => t.Id == entity.TrialClinicalId).Select(t => t.TrialId).FirstOrDefaultAsync();
|
|
||||||
await InsertInspection<TrialClinicalTableQuestion>(entity, type, x => new InspectionConvertDTO()
|
|
||||||
{
|
|
||||||
TrialId = trialId,
|
|
||||||
}
|
|
||||||
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
// CRC PM 临床数据
|
// CRC PM 临床数据
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingClinicalData)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingClinicalData)))
|
||||||
{
|
{
|
||||||
|
|
|
@ -152,7 +152,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common.Dto
|
||||||
|
|
||||||
public bool IsSelfDefine = false;
|
public bool IsSelfDefine = false;
|
||||||
|
|
||||||
// 额外标识
|
|
||||||
public string ExtraIndentification = string.Empty;
|
public string ExtraIndentification = string.Empty;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue