| | |
| | | if (arrays.length == 1 && StringUtil.isNullOrEmpty(arrays[0])) { |
| | | } else { |
| | | for (String st : (String[]) value) { |
| | | values.add(new KeyValue(st.substring(0, st.indexOf(",")), st.substring(st.indexOf(",") + 1))); |
| | | values.add(new KeyValue(st.substring(0, st.indexOf(":")), st.substring(st.indexOf(":") + 1))); |
| | | } |
| | | } |
| | | params.put(md.getName(), values); |
| | |
| | | Field[] fields = entity.getDeclaredFields(); |
| | | for (Field fd : fields) { |
| | | Annotation[] as = fd.getAnnotations(); |
| | | FormRowData formRowData = null; |
| | | for (Annotation an : as) { |
| | | if (an instanceof Show) { |
| | | list.add(getParamsMap(an)); |
| | | Map<String, Object> map = getParamsMap(an); |
| | | map.put("identifier", fd.getName()); |
| | | list.add(map); |
| | | } |
| | | } |
| | | } |