Commit 77142ba43fd338f37bdb39ced328a6e5a1e281b3
1 parent
8df2829bf8
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 1 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/DefectiveChildServiceImpl.java
View file @
77142ba
... | ... | @@ -95,6 +95,7 @@ |
95 | 95 | if (StringUtils.isEmpty(id)) { |
96 | 96 | return new BaseResponse("参数缺失", ErrorCodeConstants.PARAMETER_ERROR); |
97 | 97 | } |
98 | + model.setCreated(null); | |
98 | 99 | Query query = Query.query(Criteria.where("id").is(param.getId())); |
99 | 100 | Update update = MongoConvertHelper |
100 | 101 | .convertToNativeUpdate(ReflectionUtils.getUpdateField(param)); |