Uat_Study
he 2022-08-30 13:24:56 +08:00
parent d4a1f6f113
commit 14caef0203
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ namespace IRaCIS.Application.Services
/// (QuestionId) 可为空 /// (QuestionId) 可为空
/// </remarks> /// </remarks>
/// <returns></returns> /// <returns></returns>
public async Task<List<ReadingTableAnswerRowInfo>> GetTableAnswerRowInfo(GetTableAnswerRowInfoInDto inDto) public async Task<List<ReadingTableAnswerRowInfo>> GetTableAnswerRowInfoList(GetTableAnswerRowInfoInDto inDto)
{ {
return await _readingTableAnswerRowInfoRepository.Where(x => x.VisitTaskId == inDto.VisitTaskId) return await _readingTableAnswerRowInfoRepository.Where(x => x.VisitTaskId == inDto.VisitTaskId)
.WhereIf(inDto.QuestionId != null, x => x.QuestionId == inDto.QuestionId) .WhereIf(inDto.QuestionId != null, x => x.QuestionId == inDto.QuestionId)