| | |
| | | |
| | | import static com.vci.constant.FrameWorkBusLangCodeConstant.DATA_OID_NOT_EXIST; |
| | | |
| | | |
| | | /** |
| | | * UI上的数据查询 |
| | | * @author weidy |
| | |
| | | if(StringUtils.isNotBlank(parentFieldName)){ |
| | | tree.setParentId(ObjectTool.getBOAttributeValue(cbo,parentFieldName)); |
| | | } |
| | | tree.setAttributes(boService.cbo2Map(cbo)); |
| | | Map<String,Object> cbo2Map = boService.cbo2Map(cbo); |
| | | Map<String, Object> returnMap = new HashMap<>(); |
| | | returnMap.put((String) cbo2Map.get("btmname"),cbo2Map); |
| | | tree.setAttributes(returnMap); |
| | | tree.setIndex(i[0] + ""); |
| | | i[0]++; |
| | | tree.setChecked(showCheckBox); |
| | |
| | | //TODO:返回的数据改成按链接类型和业务类型为key:值为对应的属性集合形式返回 |
| | | Map<String, Object> returnMap = new HashMap<>(); |
| | | returnMap.put((String) cloMap.get("linktypename"),cloMap); |
| | | returnMap.put((String) cbo2Map.get("btmname"),cloMap); |
| | | returnMap.put((String) cbo2Map.get("btmname"),cbo2Map); |
| | | tree.setAttributes(returnMap); |
| | | tree.setIndex(i[0] + ""); |
| | | i[0]++; |