Commit 61e56408b357859f9221fd83019b6591becfb869
1 parent
6cee71f1af
Exists in
master
and in
8 other branches
增加退出登录接口
Showing 1 changed file with 1 additions and 4 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/dal/impl/PatientDaoImpl.java
View file @
61e5640
... | ... | @@ -27,10 +27,7 @@ |
27 | 27 | |
28 | 28 | @Override |
29 | 29 | public void updatePatient(Patients obj, String id) { |
30 | - boolean check = ObjectId.isValid(id); | |
31 | - if (check) { | |
32 | - update(new MongoQuery(new MongoCondition("id", new ObjectId(id), MongoOper.IS)).convertToMongoQuery(), obj); | |
33 | - } | |
30 | + update(new MongoQuery(new MongoCondition("id", id, MongoOper.IS)).convertToMongoQuery(), obj); | |
34 | 31 | } |
35 | 32 | |
36 | 33 | @Override |