Commit b72b2864 by zhangkb

测试修改报表3数据生成

parent 3a84ba50
...@@ -153,9 +153,7 @@ public class IndicatorsReportService { ...@@ -153,9 +153,7 @@ public class IndicatorsReportService {
findByIndIdAndDateAndCompareIdAndSort(indId, date, compareId,code); findByIndIdAndDateAndCompareIdAndSort(indId, date, compareId,code);
if(!calResults.isEmpty()) { if(!calResults.isEmpty()) {
for(DriveIndCalResultDef calResult : calResults) { for(DriveIndCalResultDef calResult : calResults) {
IndicatorsReportThree indReportData = null; IndicatorsReportThree indReportData = reportThreeMapper.getByParam(
//判断是否存在
indReportData = reportThreeMapper.getByParam(
calResult.getCompareObj(), date, type, code); calResult.getCompareObj(), date, type, code);
if(indReportData == null) { if(indReportData == null) {
indReportData = new IndicatorsReportThree(); indReportData = new IndicatorsReportThree();
...@@ -233,6 +231,7 @@ public class IndicatorsReportService { ...@@ -233,6 +231,7 @@ public class IndicatorsReportService {
} }
//算提升前三末三指标个数 //算提升前三末三指标个数
if(!improveValue.isEmpty()) { if(!improveValue.isEmpty()) {
logger.info("进来提升前三末三程序");
Map<String,Integer> resultRank = new HashMap<>(); Map<String,Integer> resultRank = new HashMap<>();
resultRank = CalculateUtils.rankValue(improveValue, indRule); resultRank = CalculateUtils.rankValue(improveValue, indRule);
//提升前三 //提升前三
......
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