Commit 7d51c816 by zhangkb

修改填写同比值增幅排名

parent 76ba3545
......@@ -213,9 +213,11 @@ public class IndicatorsReportService {
//增幅排名
Map<String,Integer> valueRateRank = CalculateUtils.rankValue(valueRate, indRule);
for(Map.Entry<String,Integer> map : valueRateRank.entrySet()) {
for(IndicatorsReportOne indReportData : datas) {
if(map.getKey().equals(indReportData.getCompareObj())) {
indReportData.setValueRateRank(map.getValue()+"");
for(int i=0;i<datas.size();i++) {
if(map.getKey().equals(datas.get(i).getCompareObj())) {
datas.get(i).setValueRateRank(map.getValue()+"");
datas.set(i, datas.get(i));
break;
}
}
}
......
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