Uat_Study
parent
dafec6e18f
commit
871e9d4a21
|
@ -632,28 +632,28 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
|
|
||||||
string errorMassage = string.Empty;
|
string errorMassage = string.Empty;
|
||||||
|
|
||||||
//var rowAnswerList = await _readingTableAnswerRowInfoRepository.Where(x => x.VisitTaskId == inDto.VisitTaskId && (x.MeasureData == string.Empty || x.MeasureData == null))
|
var rowAnswerList = await _readingTableAnswerRowInfoRepository.Where(x => x.VisitTaskId == inDto.VisitTaskId && (x.MeasureData == string.Empty || x.MeasureData == null))
|
||||||
// .Select(x => new
|
.Select(x => new
|
||||||
// {
|
{
|
||||||
// x.ReadingQuestionTrial.OrderMark,
|
x.ReadingQuestionTrial.OrderMark,
|
||||||
// x.RowIndex,
|
x.RowIndex,
|
||||||
// x.Id,
|
x.Id,
|
||||||
// }).ToListAsync();
|
}).ToListAsync();
|
||||||
|
|
||||||
|
|
||||||
//var unableEvaluateRowIds = await _readingTableQuestionAnswerRepository.Where(x => x.VisitTaskId == inDto.VisitTaskId && x.Answer == TargetState.UnableEvaluate.GetEnumInt()
|
var unableEvaluateRowIds = await _readingTableQuestionAnswerRepository.Where(x => x.VisitTaskId == inDto.VisitTaskId && x.Answer == EvaluationOfState.Benign.GetEnumInt()
|
||||||
// && x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.State
|
&& x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.State
|
||||||
//)
|
)
|
||||||
// .Select(x => x.RowId).Distinct().ToListAsync();
|
.Select(x => x.RowId).Distinct().ToListAsync();
|
||||||
|
|
||||||
|
|
||||||
//IEnumerable<string> measureDataList = rowAnswerList.Where(x => !unableEvaluateRowIds.Contains(x.Id)).Select(x => x.OrderMark + x.RowIndex.GetLesionMark()).ToList();
|
IEnumerable<string> measureDataList = rowAnswerList.Where(x => !unableEvaluateRowIds.Contains(x.Id)).Select(x => x.OrderMark + x.RowIndex.GetLesionMark()).ToList();
|
||||||
|
|
||||||
|
|
||||||
//if (measureDataList.Count() > 0)
|
if (measureDataList.Count() > 0)
|
||||||
//{
|
{
|
||||||
// errorMassage += $" 病灶{ string.Join(',', measureDataList)}不存在标记,";
|
errorMassage += $" 病灶{ string.Join(',', measureDataList)}不存在标记,";
|
||||||
//}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (tableAnswerList.Count > 0)
|
if (tableAnswerList.Count > 0)
|
||||||
|
|
Loading…
Reference in New Issue