From 188120d534975ddebf7c5685aa5fb5525c8aa0a8 Mon Sep 17 00:00:00 2001 From: qiaoqinzheng Date: Tue, 19 Dec 2023 10:37:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=B7=A5=E4=BA=A4=E4=BA=92=E5=88=86?= =?UTF-8?q?=E6=9E=90=E8=AF=BB=E5=8F=96mdc=E5=8F=82=E6=95=B0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=97=B6=EF=BC=8Chalflife=E5=AF=B9=E5=BA=94=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=9C=80=E8=A6=81=E4=BB=8E=E5=A4=A9=E8=BD=AC=E6=8D=A2?= =?UTF-8?q?=E6=88=90=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/jeecg/modules/service/impl/GammaServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/service/impl/GammaServiceImpl.java b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/service/impl/GammaServiceImpl.java index 34be8d13..7a863e6a 100644 --- a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/service/impl/GammaServiceImpl.java +++ b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/modules/service/impl/GammaServiceImpl.java @@ -5622,7 +5622,8 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi if (attribute.getNodeName().equalsIgnoreCase("nuclide_name")) { info.setNuclideName(attribute.getNodeValue()); } else if (attribute.getNodeName().equalsIgnoreCase("halflife")) { - info.setHalflife(Double.valueOf(attribute.getNodeValue())); + double halflife = Double.valueOf(attribute.getNodeValue()) * 86400; + info.setHalflife(halflife); } } if (com.baomidou.mybatisplus.core.toolkit.StringUtils.isNotBlank(info.getNuclideName()) && Objects.nonNull(info.getHalflife())) {