人工交互分析读取mdc参数文件时,halflife对应参数需要从天转换成秒
This commit is contained in:
parent
4b6b3046c4
commit
188120d534
|
@ -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())) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user