|
@@ -472,23 +472,25 @@ public class OrganizationEvaluationInfoServiceImpl extends ServiceImpl<Organizat
|
|
|
}
|
|
|
|
|
|
|
|
|
+ for (Map.Entry<String, List<IndicatorDictionary>> childCodeEntry : groupedChildCode.entrySet()) {
|
|
|
|
|
|
- for (IndicatorDictionary d : dictionaryList) {
|
|
|
- if (!d.getIsShow()) {
|
|
|
- continue;
|
|
|
- }
|
|
|
- if (mark) {
|
|
|
- indicatormap.put("organizationShortName", resultMap.get(d.getChildCode()+"_"+d.getOptionCode()).getOrganizationShortName());//公司名
|
|
|
- mark = false;
|
|
|
- }
|
|
|
+ for (IndicatorDictionary d : childCodeEntry.getValue()) {
|
|
|
+ if (!d.getIsShow()) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ if (mark) {
|
|
|
+ indicatormap.put("organizationShortName", resultMap.get(d.getChildCode() + "_" + d.getOptionCode()).getOrganizationShortName());//公司名
|
|
|
+ mark = false;
|
|
|
+ }
|
|
|
|
|
|
- System.out.println(resultMap.get(d.getChildCode()+"_"+d.getOptionCode()).getId());
|
|
|
- //指标属性
|
|
|
- indicatormap.put(d.getChildCode() + "_" + d.getOptionCode(), null == resultMap.get(d.getChildCode()+"_"+d.getOptionCode()).getNonQuantifiedValue() ? "" : resultMap.get(d.getChildCode()+"_"+d.getOptionCode()).getNonQuantifiedValue());
|
|
|
- //指标id
|
|
|
- indicatormap.put("ID_" + d.getChildCode() + "_" + d.getOptionCode(), resultMap.get(d.getChildCode()+"_"+d.getOptionCode()).getId());
|
|
|
- //是否量化
|
|
|
- indicatormap.put("IS_LH_" +d.getChildCode() + "_" + d.getOptionCode(),resultMap.get(d.getChildCode()+"_"+d.getOptionCode()).getIsQuantified2().toString());
|
|
|
+ System.out.println(resultMap.get(d.getChildCode() + "_" + d.getOptionCode()).getId());
|
|
|
+ //指标属性
|
|
|
+ indicatormap.put(d.getChildCode() + "_" + d.getOptionCode(), null == resultMap.get(d.getChildCode() + "_" + d.getOptionCode()).getNonQuantifiedValue() ? "" : resultMap.get(d.getChildCode() + "_" + d.getOptionCode()).getNonQuantifiedValue());
|
|
|
+ //指标id
|
|
|
+ indicatormap.put("ID_" + d.getChildCode() + "_" + d.getOptionCode(), resultMap.get(d.getChildCode() + "_" + d.getOptionCode()).getId());
|
|
|
+ //是否量化
|
|
|
+ indicatormap.put("IS_LH_" + d.getChildCode() + "_" + d.getOptionCode(), resultMap.get(d.getChildCode() + "_" + d.getOptionCode()).getIsQuantified2().toString());
|
|
|
+ }
|
|
|
}
|
|
|
mapList.add(indicatormap);
|
|
|
}
|