Commit 08fafd8a55e3fa7cd051d5cbfa6bdf78c12ca4b8
1 parent
f8c2abb86a
Exists in
master
and in
6 other branches
改字段
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PlantformConfigServiceImpl.java
View file @
08fafd8
... | ... | @@ -115,7 +115,7 @@ |
115 | 115 | List<PlantformConfigModel> configModels = (List<PlantformConfigModel>) pageResult.getGrid(); |
116 | 116 | List<Map<String, Object>> restList = new ArrayList<>(); |
117 | 117 | for (PlantformConfigModel configModel : configModels) { |
118 | - Map<String, Object> map = new HashMap<>(); | |
118 | + Map<String, Object> map = ReflectionUtils.beanToMap(configModel); | |
119 | 119 | map.put("id", configModel.getId().toString()); |
120 | 120 | map.put("typeName", mongoUtil.getPlatformValue(configModel.getParentId())); |
121 | 121 | map.put("serchKey", configModel.getSerchKey()); |