This commit is contained in:
ls
2025-07-13 12:43:42 +08:00
parent c88146106b
commit 69d79d441e

View File

@@ -539,7 +539,7 @@ public class ExperimentDocServiceImpl extends ServiceImpl<ExperimentDocMapper, E
params.put("辐射源_" + name + "_实际累积剂量点", params.put("辐射源_" + name + "_实际累积剂量点",
"实际累积剂量点/实际累积注量点:" + chooseStr(actualMeasurementPoint, "") + " krad(Si)"); "实际累积剂量点/实际累积注量点:" + chooseStr(actualMeasurementPoint, "") + " krad(Si)");
params.put("辐射源_" + name + "_实际辐照总剂量", params.put("辐射源_" + name + "_实际辐照总剂量",
"实际辐照总剂量/实际辐照总注量:" + chooseStr(maxMeasurementPoint.getAsDouble() + "", "") + " krad(Si)"); "实际辐照总剂量/实际辐照总注量:" + chooseStr(maxMeasurementPoint.orElse(0) + "", "") + " krad(Si)");
params.put("辐射源_" + name + "_实际辐射环境温度", "实际辐射环境温度:" + temperature + ""); params.put("辐射源_" + name + "_实际辐射环境温度", "实际辐射环境温度:" + temperature + "");
if (StringUtils.equals(name, "电子加速器")) { if (StringUtils.equals(name, "电子加速器")) {
params.put("辐射源_" + name + "_实际能量", "实际能量:" + chooseStr(electronEnergy, "") + " MeV"); params.put("辐射源_" + name + "_实际能量", "实际能量:" + chooseStr(electronEnergy, "") + " MeV");
@@ -809,7 +809,7 @@ public class ExperimentDocServiceImpl extends ServiceImpl<ExperimentDocMapper, E
String actualInjectionRate = detailDTOList.stream().map(x -> x.getActualInjectionRate()).filter( String actualInjectionRate = detailDTOList.stream().map(x -> x.getActualInjectionRate()).filter(
point -> StringUtils.isNotBlank(point)).collect(Collectors.joining(",")); point -> StringUtils.isNotBlank(point)).collect(Collectors.joining(","));
root.put(type + "剂量率", chooseStr(actualMeasurementRate, actualInjectionRate)); root.put(type + "剂量率", chooseStr(actualMeasurementRate, actualInjectionRate));
root.put(type + "总剂量", chooseStr(maxMeasurementPoint.getAsDouble() + "", "")); root.put(type + "总剂量", chooseStr(maxMeasurementPoint.orElse(0) + "", ""));
} }