fix:解决异常报警 取核素平均值报错问题
This commit is contained in:
parent
c2c0566dae
commit
a5eb7a4ea7
|
@ -37,6 +37,6 @@
|
|||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
AND TO_NUMBER(n.CONCENTRATION) > TO_NUMBER(n.MDC)
|
||||
AND n.CONCENTRATION > n.MDC
|
||||
</select>
|
||||
</mapper>
|
|
@ -37,6 +37,6 @@
|
|||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
AND TO_NUMBER(n.CONCENTRATION) > TO_NUMBER(n.MDC)
|
||||
AND n.CONCENTRATION > n.MDC
|
||||
</select>
|
||||
</mapper>
|
|
@ -148,6 +148,7 @@ public class CalculateConcServiceImpl implements CalculateConcService {
|
|||
autoResult.putAll(calculate(nuclConcAuto, index));
|
||||
for (String nuclide : nuclides) {
|
||||
String val = autoResult.get(nuclide);
|
||||
if(StrUtil.isBlank(val)) continue;
|
||||
AlarmAnalysisNuclideAvg analysisNuclideAvg = new AlarmAnalysisNuclideAvg(station, nuclide, val);
|
||||
analysisNuclideAvg.setDataSourceType(CommonConstant.ARMDARR);
|
||||
autoAvgs.add(analysisNuclideAvg);
|
||||
|
@ -158,6 +159,7 @@ public class CalculateConcServiceImpl implements CalculateConcService {
|
|||
manResult.putAll(calculate(nuclConcMan, index));
|
||||
for (String nuclide : nuclides) {
|
||||
String val = manResult.get(nuclide);
|
||||
if(StrUtil.isBlank(val)) continue;
|
||||
AlarmAnalysisNuclideAvg analysisNuclideAvg = new AlarmAnalysisNuclideAvg(station, nuclide, val);
|
||||
analysisNuclideAvg.setDataSourceType(CommonConstant.ARMDRRR);
|
||||
manAvgs.add(analysisNuclideAvg);
|
||||
|
|
Loading…
Reference in New Issue
Block a user