|
@@ -87,7 +87,7 @@ public class CalculateIndicatorItemInfoServiceImpl extends ServiceImpl<Calculate
|
|
|
for (Map.Entry<String, List<OrganizationEvaluationInfoResDTO>> childCodeGropListEntry : childCodeGropList.entrySet()){
|
|
|
//对指标id进行分组
|
|
|
for (OrganizationEvaluationInfoResDTO r : childCodeGropListEntry.getValue()){
|
|
|
- if (r.getOptionCode().equals("CZ") || r.getOptionCode().equals("LRGXKH")|| r.getOptionCode().equals("LRGXL") || r.getOptionCode().equals("DWQWLR")) {
|
|
|
+ if (r.getOptionCode().equals("LRZE") || r.getOptionCode().equals("CZ") || r.getOptionCode().equals("LRGXKH")|| r.getOptionCode().equals("LRGXL") || r.getOptionCode().equals("DWQWLR")) {
|
|
|
CalculateIndicatorItemInfo calculateIndicatorItemInfo = new CalculateIndicatorItemInfo();
|
|
|
calculateIndicatorItemInfo.setIndicatorId(r.getIndicatorId());
|
|
|
calculateIndicatorItemInfo.setOptionCode(r.getOptionCode());
|
|
@@ -158,6 +158,7 @@ public class CalculateIndicatorItemInfoServiceImpl extends ServiceImpl<Calculate
|
|
|
maxNum.setOptionCode("CZMAX");
|
|
|
minNum.setOptionCode("CZMIN");
|
|
|
}else if (listEntry.getKey().equals("LRGXL")){
|
|
|
+ //利润贡献
|
|
|
maxNum.setOptionCode("LRGXLMAX");
|
|
|
minNum.setOptionCode("LRGXLMIN");
|
|
|
}else if (listEntry.getKey().equals("DWQWLR")){
|
|
@@ -166,13 +167,13 @@ public class CalculateIndicatorItemInfoServiceImpl extends ServiceImpl<Calculate
|
|
|
}else if (listEntry.getKey().equals("LRGXKH")){
|
|
|
maxNum.setOptionCode("LRGXKHMAX");
|
|
|
minNum.setOptionCode("LRGXKHMIN");
|
|
|
+ }else if (listEntry.getKey().equals("LRZE")){
|
|
|
+ maxNum.setOptionCode("LRZEMAX");
|
|
|
+ minNum.setOptionCode("LRZEMIN");
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- int insert = calculateIndicatorItemInfoMapper.insert(maxNum);
|
|
|
-
|
|
|
- int insert1 = calculateIndicatorItemInfoMapper.insert(minNum);
|
|
|
- System.out.println(insert1);
|
|
|
+ calculateIndicatorItemInfoMapper.insert(maxNum);
|
|
|
+ calculateIndicatorItemInfoMapper.insert(minNum);
|
|
|
}
|
|
|
}
|
|
|
|