人工交互分析读取mdc参数文件时,halflife对应参数修改

This commit is contained in:
qiaoqinzheng 2023-12-19 10:44:29 +08:00
parent 188120d534
commit 807c72d78e

View File

@ -5622,8 +5622,7 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
if (attribute.getNodeName().equalsIgnoreCase("nuclide_name")) {
info.setNuclideName(attribute.getNodeValue());
} else if (attribute.getNodeName().equalsIgnoreCase("halflife")) {
double halflife = Double.valueOf(attribute.getNodeValue()) * 86400;
info.setHalflife(halflife);
info.setHalflife(Double.valueOf(attribute.getNodeValue()));
}
}
if (com.baomidou.mybatisplus.core.toolkit.StringUtils.isNotBlank(info.getNuclideName()) && Objects.nonNull(info.getHalflife())) {