From 8e823d538c8211ecd5f33d3a81b09b0388e18aee Mon Sep 17 00:00:00 2001 From: "litao@lymsh.com" Date: Thu, 24 Aug 2017 09:12:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/operate/web/service/impl/PlantformConfigServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PlantformConfigServiceImpl.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PlantformConfigServiceImpl.java index 2235394..f24389c 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PlantformConfigServiceImpl.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PlantformConfigServiceImpl.java @@ -150,6 +150,7 @@ public class PlantformConfigServiceImpl extends BaseServiceImpl implements Plant plantformConfigModel.setSerchKey(key); plantformConfigModel.setId(new ObjectId(id)); plantformConfigModel.setParentId(parentId); + plantformConfigModel.setValue(content); Update update = MongoConvertHelper.convertToNativeUpdate(ReflectionUtils.getUpdateField(plantformConfigModel)); mongoTemplate.updateFirst(Query.query(Criteria.where("id").is(id)), update, PlantformConfigModel.class); -- 1.8.3.1