修改一版

Uat_Study
he 2022-05-19 14:23:48 +08:00
parent 42e0e62b4b
commit 7f40175a40
2 changed files with 17 additions and 2 deletions

View File

@ -140,7 +140,6 @@ namespace IRaCIS.Application.Services
//添加项目状态变化记录
var trialDetail = new TrialStatusDetail()
{
TrialId = trial.Id,
TrialStatus = (int)TrialEnrollStatus.HasApplyDownLoadResume,
};

View File

@ -235,7 +235,23 @@ namespace IRaCIS.Core.Infra.EFCore.Common
},null, "UserSigned");
}
// 医生
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(Enroll)))
{
await InsertInspection<Enroll>(item, type, x => new DataInspection()
{
GeneralId = x.Id,
});
}
// 医生详情
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(EnrollDetail)))
{
await InsertInspection<EnrollDetail>(item, type, x => new DataInspection()
{
GeneralId = x.Id,
});
}
// 项目中心
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TrialSite)))