Commit 223f35e8c9caf58cb408dc35b0c5a0e91d847df2
1 parent
6b9750b222
Exists in
master
and in
6 other branches
服务同步
Showing 1 changed file with 2 additions and 0 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/dal/impl/PatientDaoImpl.java
View file @
223f35e
| ... | ... | @@ -40,6 +40,8 @@ |
| 40 | 40 | @Override |
| 41 | 41 | public void updatePatientOneCol(String id, Object colValue) { |
| 42 | 42 | this.mongoTemplate.updateFirst(new Query(Criteria.where("id").is(id)), Update.update("nextCheckTime", colValue), Patients.class); |
| 43 | + //为了使修改为空的时候能够同步到线上 | |
| 44 | + updatePatient( findById(id), id); | |
| 43 | 45 | } |
| 44 | 46 | |
| 45 | 47 | @Override |