This commit is contained in:
ls
2025-08-04 23:47:00 +08:00
parent 15980fd5a4
commit 895dbb3aab
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ public class QJ100041Executor extends BaseExecutor implements IExperimentReviewR
point -> StringUtils.isNotBlank(point)).filter(str -> str.matches("-?\\d+(\\.\\d+)?")).mapToDouble(Double::parseDouble)
.min().orElse(0d);
if (sampleInfo.getSampleName().contains("双极") && sampleInfo.getSampleType().equals("模拟集成电路") && NumberUtil.compare(
minRate, 0.01d) > 0 && StringUtils.contains(radiationProcess.getComment(), "加速试验")) {
minRate, 0.01d) > 0 && !StringUtils.contains(radiationProcess.getComment(), "加速试验")) {
return ExperimentReviewResultEnum.HIGH;
}
}

View File

@@ -68,7 +68,7 @@ public class QJ100042Executor extends BaseExecutor implements IExperimentReview
Double minRate = detailDTOList.stream().map(obj -> obj.getActualMeasurementRate()).filter(
point -> StringUtils.isNotBlank(point)).filter(str -> str.matches("-?\\d+(\\.\\d+)?")).mapToDouble(Double::parseDouble)
.max().orElse(0d);
if (!sampleInfo.getSampleName().contains("双极") && NumberUtil.compare(
if (!sampleInfo.getSampleType().equals("模拟集成电路") &&!sampleInfo.getSampleName().contains("双极") && NumberUtil.compare(
minRate, 50d) < 0) {
return ExperimentReviewResultEnum.LOW;
}