Commit 8ed4c7f1be1c8811ac851ef3b3fbd580f10f2788

Authored by liquanyu
1 parent 26c7d0f00a

肌萎缩

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/SmnFacade.java View file @ 8ed4c7f
... ... @@ -50,7 +50,7 @@
50 50 SmnModel smnModel = mongoTemplate.findOne(query, SmnModel.class);
51 51 if (smnModel != null)
52 52 {
53   - BeanUtils.copyProperties(param,smnModel);
  53 + BeanUtils.copyProperties(smnModel,param);
54 54 param.setHospitalId(hospitalId);
55 55 param.setStatus(2);
56 56 Query query1 = Query.query(Criteria.where("id").is(smnModel.getId()));