Commit 5885aa5e by hzc

有效指标值过滤NaN情况

parent 32a957ac
......@@ -244,7 +244,9 @@ public class IndicatorsReportService {
compareId, calResult.getCompareObj(),
indId, (date-100), code, dateMark);
//有同期值
if(sameCalResult!=null) {
if(sameCalResult!=null&&!"NaN".equals(sameCalResult.getValue())
&& !"Infinite".equals(sameCalResult.getValue())
&& StringUtils.isNotBlank(sameCalResult.getValue())) {
//有效指标加1
if(indReportData.getEffectiveIndCount()==null) {
indReportData.setEffectiveIndCount(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment