Commit 41069532c38022b22b944628c5edeba7507b2158
1 parent
7195e40400
Exists in
master
and in
8 other branches
产筛导出添加年龄字段
Showing 1 changed file with 1 additions and 1 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/dal/impl/PatientDaoImpl.java
View file @
4106953
... | ... | @@ -39,7 +39,7 @@ |
39 | 39 | |
40 | 40 | @Override |
41 | 41 | public void updatePatientOneCol(String id, String colName, Object colValue) { |
42 | - this.mongoTemplate.updateFirst(new Query(Criteria.where("id").is(id)), Update.update(colName, colValue), BabyModel.class); | |
42 | + this.mongoTemplate.updateFirst(new Query(Criteria.where("id").is(id)), Update.update(colName, colValue), Patients.class); | |
43 | 43 | } |
44 | 44 | |
45 | 45 | @Override |