导入编号限制 只能123
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
he 2025-12-16 17:37:46 +08:00
parent 0ef6f57689
commit 809d9da387
2 changed files with 20 additions and 0 deletions

View File

@ -478,6 +478,11 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
}
measuredValueList.Add(iVUSMeasuredValue);
}
List<int> nums=new List<int>() { 1,2,3};
if(measuredValueList.Any(x=> !nums.Contains(x.PlaqueNum)))
{
throw new BusinessValidationFailedException(_localizer["IVUS_EmmBiggerThenLumen"]);
}
measuredValueList = measuredValueList.OrderBy(x => x.PlaqueNum).ToList();

View File

@ -335,12 +335,20 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
});
}
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["IVUS_EmmBiggerThenLumen"]);
}
}
catch (Exception)
{
throw new BusinessValidationFailedException(_localizer["IVUS_UplpadDataError"]);
}
Dictionary<string, string> isPresent = new Dictionary<string, string>()
{
{ "有","1"},
@ -637,12 +645,19 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
}
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["IVUS_EmmBiggerThenLumen"]);
}
}
catch (Exception)
{
throw new BusinessValidationFailedException(_localizer["IVUS_UplpadDataError"]);
}
foreach (var item in measuredValueList)
{
if (item.FirstData > 360)