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