Commit 3491e604 by zhangkb

修改报表2数据无同期值保存

parent 174fec1d
......@@ -324,6 +324,8 @@ public class IndicatorsReportService {
calDatas);
if(Integer.parseInt(sameImproveResult.get("improveNum").toString())!=0) {
indReportData.setSameImproveUnits(Integer.parseInt(sameImproveResult.get("improveNum").toString()));
}else {
indReportData.setSameImproveUnits(null);
}
//同比提升前三
int start = 0;
......@@ -366,6 +368,11 @@ public class IndicatorsReportService {
}
indReportData.setSameImproveAfterThree(sameImproveAfterThree.toString());
indReportData.setSameImproveAfterThreeDesc(sameImproveAfterThreeDesc.toString());
}else {//置为空
indReportData.setSameImproveHeadThree(null);
indReportData.setSameImproveHeadThreeDesc(null);
indReportData.setSameImproveAfterThree(null);
indReportData.setSameImproveAfterThreeDesc(null);
}
//排名前三
start = 0;
......
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