| | |
| | | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.dto.community.CommunityDto; |
| | | import org.apache.commons.beanutils.ConvertUtils; |
| | | import org.apache.commons.beanutils.Converter; |
| | | import org.apache.commons.lang3.reflect.FieldUtils; |
| | |
| | | } |
| | | return newMaps; |
| | | } |
| | | public static List<Map<String, Object>> beanCovertMapListC(List<CommunityDto> orgBeans) { |
| | | List<Map<String, Object>> newMaps = new ArrayList<Map<String, Object>>(); |
| | | Map<String, Object> newMap = null; |
| | | for (Object orgbean : orgBeans) { |
| | | newMap = beanCovertMap(orgbean); |
| | | newMaps.add(newMap); |
| | | } |
| | | return newMaps; |
| | | } |
| | | } |