Commit 8e823d538c8211ecd5f33d3a81b09b0388e18aee
1 parent
9d1f09e1dd
Exists in
master
and in
6 other branches
改字段
Showing 1 changed file with 1 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PlantformConfigServiceImpl.java
View file @
8e823d5
| ... | ... | @@ -150,6 +150,7 @@ |
| 150 | 150 | plantformConfigModel.setSerchKey(key); |
| 151 | 151 | plantformConfigModel.setId(new ObjectId(id)); |
| 152 | 152 | plantformConfigModel.setParentId(parentId); |
| 153 | + plantformConfigModel.setValue(content); | |
| 153 | 154 | |
| 154 | 155 | Update update = MongoConvertHelper.convertToNativeUpdate(ReflectionUtils.getUpdateField(plantformConfigModel)); |
| 155 | 156 | mongoTemplate.updateFirst(Query.query(Criteria.where("id").is(id)), update, PlantformConfigModel.class); |