验证修改
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
he 2025-12-17 10:52:04 +08:00
parent afe873800d
commit 5d722950ce
1 changed files with 13 additions and 11 deletions

View File

@ -336,18 +336,18 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
} }
measuredValueList = measuredValueList.OrderBy(x => x.PlaqueNum).ToList(); measuredValueList = measuredValueList.OrderBy(x => x.PlaqueNum).ToList();
List<int> nums = new List<int>() { 1, 2, 3 };
if (measuredValueList.Any(x => !nums.Contains(x.PlaqueNum)))
{
throw new BusinessValidationFailedException(_localizer["IVUSOCT_PlaqueNum123"]);
}
} }
catch (Exception) catch (Exception)
{ {
throw new BusinessValidationFailedException(_localizer["IVUS_UplpadDataError"]); throw new BusinessValidationFailedException(_localizer["IVUS_UplpadDataError"]);
} }
List<int> nums = new List<int>() { 1, 2, 3 };
if (measuredValueList.Any(x => !nums.Contains(x.PlaqueNum)))
{
throw new BusinessValidationFailedException(_localizer["IVUSOCT_PlaqueNum123"]);
}
Dictionary<string, string> isPresent = new Dictionary<string, string>() Dictionary<string, string> isPresent = new Dictionary<string, string>()
{ {
@ -646,11 +646,6 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
measuredValueList = measuredValueList.OrderBy(x => x.PlaqueNum).ToList(); measuredValueList = measuredValueList.OrderBy(x => x.PlaqueNum).ToList();
List<int> nums = new List<int>() { 1, 2, 3 };
if (measuredValueList.Any(x => !nums.Contains(x.PlaqueNum)))
{
throw new BusinessValidationFailedException(_localizer["IVUSOCT_PlaqueNum123"]);
}
} }
catch (Exception) catch (Exception)
{ {
@ -658,6 +653,13 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
} }
List<int> nums = new List<int>() { 1, 2, 3 };
if (measuredValueList.Any(x => !nums.Contains(x.PlaqueNum)))
{
throw new BusinessValidationFailedException(_localizer["IVUSOCT_PlaqueNum123"]);
}
foreach (var item in measuredValueList) foreach (var item in measuredValueList)
{ {
if (item.FirstData > 360) if (item.FirstData > 360)