修改
This commit is contained in:
+1
-1
@@ -236,7 +236,7 @@ namespace IRaCIS.Application.Services
|
||||
x.BeforeQuestionList.ForEach(y =>
|
||||
{
|
||||
|
||||
var globalAnswer = globalAnswers.Where(z => z.QuestionId == y.QuestionId).Select(z => z.Answer).FirstOrDefault();
|
||||
var globalAnswer = globalAnswers.Where(z => z.QuestionId == y.QuestionId&&z.TaskId==x.VisitTaskId).Select(z => z.Answer).FirstOrDefault();
|
||||
if (!globalAnswer.IsNullOrEmpty())
|
||||
{
|
||||
y.Answer = globalAnswer;
|
||||
|
||||
Reference in New Issue
Block a user