修改一版
parent
42e0e62b4b
commit
7f40175a40
|
@ -140,7 +140,6 @@ namespace IRaCIS.Application.Services
|
||||||
//添加项目状态变化记录
|
//添加项目状态变化记录
|
||||||
var trialDetail = new TrialStatusDetail()
|
var trialDetail = new TrialStatusDetail()
|
||||||
{
|
{
|
||||||
|
|
||||||
TrialId = trial.Id,
|
TrialId = trial.Id,
|
||||||
TrialStatus = (int)TrialEnrollStatus.HasApplyDownLoadResume,
|
TrialStatus = (int)TrialEnrollStatus.HasApplyDownLoadResume,
|
||||||
};
|
};
|
||||||
|
|
|
@ -235,7 +235,23 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
},null, "UserSigned");
|
},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)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TrialSite)))
|
||||||
|
|
Loading…
Reference in New Issue