Test.EIImageViewer
hang 2023-02-27 14:04:00 +08:00
commit 694cf0f59a
2 changed files with 5 additions and 5 deletions

View File

@ -712,9 +712,9 @@ namespace IRaCIS.Application.Services
public async Task<(GetReadingTableQuestionOutDto, object)> GetCustomTableQuestionAnswer(GetCustomTableQuestionAnswerInDto inDto)
{
await _readingCalculateService.AddTaskLesionAnswerFromLastTask(new AddTaskLesionAnswerFromLastTaskInDto() {
VisitTaskId=inDto.VisitTaskId
});
//await _readingCalculateService.AddTaskLesionAnswerFromLastTask(new AddTaskLesionAnswerFromLastTaskInDto() {
//VisitTaskId=inDto.VisitTaskId
//});
var taskInfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Include(x=>x.SourceSubjectVisit).FirstNotNullAsync();
var tableAnswers = await _readingTableQuestionAnswerRepository

View File

@ -771,13 +771,13 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
var findindex = taskList.OrderBy(x => x.VisitTaskNum).ToList().FindIndex(x => x.VisitTaskId == inDto.VisitTaskId);
if (findindex < 2)
if (findindex < 3)
{
return -1;
}
else
{
var twoindex = taskList.OrderBy(x => x.VisitTaskNum).ToList()[2];
var twoindex = taskList.OrderBy(x => x.VisitTaskNum).ToList()[3];
result = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.AlwaysNewLesions).SelectMany(x => x.TableRowInfoList)