Uat_Study
parent
691b205ff9
commit
e03ef0659b
|
@ -2130,7 +2130,7 @@ namespace IRaCIS.Application.Services
|
||||||
public async Task<IResponseOutput> VerifyVisitTaskQuestions(VerifyVisitTaskQuestionsInDto inDto)
|
public async Task<IResponseOutput> VerifyVisitTaskQuestions(VerifyVisitTaskQuestionsInDto inDto)
|
||||||
{
|
{
|
||||||
|
|
||||||
var tableAnswerList = (await _readingTableQuestionAnswerRepository.Where(x => x.VisitTaskId == inDto.VisitTaskId)
|
var tableAnswerList = (await _readingTableQuestionAnswerRepository.Where(x => x.VisitTaskId == inDto.VisitTaskId&&x.Answer.IsNullOrEmpty())
|
||||||
.Select(x => new
|
.Select(x => new
|
||||||
{
|
{
|
||||||
x.ReadingQuestionTrial.OrderMark,
|
x.ReadingQuestionTrial.OrderMark,
|
||||||
|
@ -2138,7 +2138,7 @@ namespace IRaCIS.Application.Services
|
||||||
QuestionMark = x.ReadingTableQuestionTrial.QuestionMark,
|
QuestionMark = x.ReadingTableQuestionTrial.QuestionMark,
|
||||||
Answer = x.Answer,
|
Answer = x.Answer,
|
||||||
|
|
||||||
}).ToListAsync()).Where(x=> x.QuestionMark == QuestionMark.State && x.Answer.IsNullOrEmpty()).ToList();
|
}).ToListAsync()).Where(x=> x.QuestionMark == QuestionMark.State).ToList();
|
||||||
|
|
||||||
|
|
||||||
string errorMassage = string.Empty;
|
string errorMassage = string.Empty;
|
||||||
|
|
Loading…
Reference in New Issue