修改一版

This commit is contained in:
he
2022-05-05 17:43:13 +08:00
parent 54e717d4af
commit 3ebeacf3c9
5 changed files with 42 additions and 19 deletions
@@ -46,13 +46,13 @@ namespace IRaCIS.Application.Services
};
bool isadd = false;
Subject? mapedSubject = null;
if (subjectCommand.Id == null) //insert
{
isadd = true;
mapedSubject= await _subjectRepository.InsertFromDTOAsync(subjectCommand, false, verifyExp1);
@@ -66,6 +66,7 @@ namespace IRaCIS.Application.Services
svlist.ForEach(t =>
{
t.Subject = mapedSubject;
t.SubjectId = mapedSubject.Id;
t.TrialId = subjectCommand.TrialId;
t.SiteId = subjectCommand.SiteId;