稽查修改1
parent
e6e2e8a91d
commit
a5dee142bf
|
@ -2071,6 +2071,10 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
{
|
{
|
||||||
extraIdentification = "/ConfirmSelect";
|
extraIdentification = "/ConfirmSelect";
|
||||||
}
|
}
|
||||||
|
else if (_userInfo.RequestUrl == "ClinicalDataSet/applyTrialClinical")
|
||||||
|
{
|
||||||
|
extraIdentification = "/applyTrialClinical";
|
||||||
|
}
|
||||||
|
|
||||||
//获取配置的标准名称
|
//获取配置的标准名称
|
||||||
|
|
||||||
|
@ -2111,6 +2115,48 @@ 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,6 +152,7 @@ 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