修改一版
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user