| | |
| | | Map<String, String> soundVo = new HashMap<>(); |
| | | boolean bool = field.isAnnotationPresent(ApiModelProperty.class); |
| | | boolean bool2 = field.isAnnotationPresent(ValueTableShow.class); |
| | | if (bool) { |
| | | int order; |
| | | if (bool2){ |
| | | order = field.getAnnotation(ValueTableShow.class).value(); |
| | | }else{ |
| | | continue; |
| | | int order = field.getAnnotation(ValueTableShow.class).value(); |
| | | String value = field.getAnnotation(ValueTableShow.class).name(); |
| | | if (bool){ |
| | | value = value.isEmpty() ? field.getAnnotation(ApiModelProperty.class).value() : value; |
| | | } |
| | | String value = field.getAnnotation(ApiModelProperty.class).value(); |
| | | soundVo.put("label", field.getName()); |
| | | soundVo.put("value", value); |
| | | soundVo.put("order", order + ""); |