修改
This commit is contained in:
@@ -936,7 +936,14 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||
.Select(x => x.RowId).Distinct().ToListAsync();
|
||||
|
||||
|
||||
IEnumerable<string> measureDataList = rowAnswerList.Where(x => !unableEvaluateRowIds.Contains(x.Id)).Select(x => x.OrderMark + x.RowIndex.GetLesionMark()).ToList();
|
||||
List<string> measureDataList = rowAnswerList.Where(x => !unableEvaluateRowIds.Contains(x.Id)).Select(x => x.OrderMark + x.RowIndex.GetLesionMark()).ToList();
|
||||
|
||||
List<string> stateIsNullList = tableAnswerList.Select(x => x.OrderMark + x.RowIndex.GetLesionMark()).ToList();
|
||||
|
||||
|
||||
List<string> allExists = measureDataList.Intersect(stateIsNullList).ToList();
|
||||
measureDataList = measureDataList.Except(allExists).ToList();
|
||||
stateIsNullList = stateIsNullList.Except(allExists).ToList();
|
||||
|
||||
|
||||
if (measureDataList.Count() > 0)
|
||||
@@ -947,7 +954,12 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||
|
||||
if (tableAnswerList.Count > 0)
|
||||
{
|
||||
errorMassage += $" 病灶{ string.Join(',', tableAnswerList.Select(x => x.OrderMark + x.RowIndex.GetLesionMark()))}状态为空,";
|
||||
errorMassage += $" 病灶{ string.Join(',', stateIsNullList)}状态为空,";
|
||||
}
|
||||
|
||||
if (allExists.Count > 0)
|
||||
{
|
||||
errorMassage += $" 病灶{ string.Join(',', stateIsNullList)}未做标记,且状态为空,";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -527,7 +527,14 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||
.Select(x => x.RowId).Distinct().ToListAsync();
|
||||
|
||||
|
||||
IEnumerable<string> measureDataList = rowAnswerList.Where(x => !unableEvaluateRowIds.Contains(x.Id)).Select(x => x.OrderMark + x.RowIndex.GetLesionMark()).ToList();
|
||||
List<string> measureDataList = rowAnswerList.Where(x => !unableEvaluateRowIds.Contains(x.Id)).Select(x => x.OrderMark + x.RowIndex.GetLesionMark()).ToList();
|
||||
|
||||
List<string> stateIsNullList = tableAnswerList.Select(x => x.OrderMark + x.RowIndex.GetLesionMark()).ToList();
|
||||
|
||||
|
||||
List<string> allExists = measureDataList.Intersect(stateIsNullList).ToList();
|
||||
measureDataList = measureDataList.Except(allExists).ToList();
|
||||
stateIsNullList = stateIsNullList.Except(allExists).ToList();
|
||||
|
||||
|
||||
if (measureDataList.Count() > 0)
|
||||
@@ -538,7 +545,12 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||
|
||||
if (tableAnswerList.Count > 0)
|
||||
{
|
||||
errorMassage += $" 病灶{ string.Join(',', tableAnswerList.Select(x => x.OrderMark + x.RowIndex.GetLesionMark()))}状态为空,";
|
||||
errorMassage += $" 病灶{ string.Join(',', stateIsNullList)}状态为空,";
|
||||
}
|
||||
|
||||
if (allExists.Count > 0)
|
||||
{
|
||||
errorMassage += $" 病灶{ string.Join(',', stateIsNullList)}未做标记,且状态为空,";
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user