Commit c4a9fc27 by hzc

测试报表一填入本期值报错

parent 9b4f6fdb
...@@ -1168,7 +1168,7 @@ public class IndicatorsReportService { ...@@ -1168,7 +1168,7 @@ public class IndicatorsReportService {
indReportData.setCompareObj(calData.getCompareObj());//对标对象 indReportData.setCompareObj(calData.getCompareObj());//对标对象
indReportData.setCompareObjDesc(calData.getCompareObjDesc());//对标对象描述 indReportData.setCompareObjDesc(calData.getCompareObjDesc());//对标对象描述
indReportData.setCompareDate(calData.getDate()); indReportData.setCompareDate(calData.getDate());
if(StringUtils.isNotBlank(calData.getValue())) { if(StringUtils.isNotBlank(calData.getValue())&&!calData.getValue().equals("NaN") && !calData.getValue().equals("Infinite")) {
indReportData.setCurrentValue(new BigDecimal(calData.getValue())); indReportData.setCurrentValue(new BigDecimal(calData.getValue()));
} }
indReportData.setCurrentRank(calData.getRank()==null ? null : calData.getRank().toString()); indReportData.setCurrentRank(calData.getRank()==null ? null : calData.getRank().toString());
......
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