Commit ac1f7f4e50045e9a1da84098c6c5618f91397c8a
1 parent
9ea1a1d96b
Exists in
master
and in
6 other branches
公共卫生统计
Showing 3 changed files with 0 additions and 35 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/dal/IBreastAfterVisitDao.java
View file @
ac1f7f4
| ... | ... | @@ -21,7 +21,6 @@ |
| 21 | 21 | BreastAfterVisitModel addOneCanScr(BreastAfterVisitModel breastAfterVisitModel); |
| 22 | 22 | |
| 23 | 23 | |
| 24 | - void updateOneBreastAfterVisit(BreastAfterVisitModel breastAfterVisitModel); | |
| 25 | 24 | /** |
| 26 | 25 | * |
| 27 | 26 | * 查询列表 |
| ... | ... | @@ -37,6 +36,5 @@ |
| 37 | 36 | */ |
| 38 | 37 | int count(MongoQuery query); |
| 39 | 38 | |
| 40 | - void updateOneBreastAfterVisit2(BreastAfterVisitModel breastAfterVisitModel); | |
| 41 | 39 | } |
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/dal/impl/BreastAfterVisitDaoImpl.java
View file @
ac1f7f4
| ... | ... | @@ -31,22 +31,6 @@ |
| 31 | 31 | return save(breastAfterVisitModel); |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | - /** | |
| 35 | - * 修改一条乳腺追访 | |
| 36 | - * @param breastAfterVisitModel | |
| 37 | - */ | |
| 38 | - @Override | |
| 39 | - public void updateOneBreastAfterVisit2(BreastAfterVisitModel breastAfterVisitModel) { | |
| 40 | - update(new MongoQuery(new MongoCondition("parentId", breastAfterVisitModel.getParentId(), MongoOper.IS)).convertToMongoQuery(), breastAfterVisitModel); | |
| 41 | - } | |
| 42 | - /** | |
| 43 | - * 修改一条乳腺追访 | |
| 44 | - * @param breastAfterVisitModel | |
| 45 | - */ | |
| 46 | - @Override | |
| 47 | - public void updateOneBreastAfterVisit(BreastAfterVisitModel breastAfterVisitModel) { | |
| 48 | - update(new MongoQuery(new MongoCondition("id", breastAfterVisitModel.getId(), MongoOper.IS)).convertToMongoQuery(), breastAfterVisitModel); | |
| 49 | - } | |
| 50 | 34 | |
| 51 | 35 | /** |
| 52 | 36 | * 查询列表 |
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/BreastAfterVisitService.java
View file @
ac1f7f4
| ... | ... | @@ -43,24 +43,7 @@ |
| 43 | 43 | |
| 44 | 44 | return iBreastAfterVisitDao.addOneCanScr(breastAfterVisitModel); |
| 45 | 45 | } |
| 46 | - /** | |
| 47 | - * 修改一条乳腺追访 | |
| 48 | - * 添加 | |
| 49 | - * @param breastAfterVisitModel | |
| 50 | - * @param type 1:id查询 2:parentId查询 | |
| 51 | - */ | |
| 52 | - public void updateOneBreastAfterVisit(BreastAfterVisitModel breastAfterVisitModel,int type) { | |
| 53 | - if(type==1){ | |
| 54 | - Assert.notNull(breastAfterVisitModel.getId(), "updateOnebreastAfterVisitModel Id must not be null."); | |
| 55 | - breastAfterVisitModel.setModified(new Date()); | |
| 56 | - iBreastAfterVisitDao.updateOneBreastAfterVisit(breastAfterVisitModel); | |
| 57 | - }else if(type==2) { | |
| 58 | - Assert.notNull(breastAfterVisitModel.getParentId(), "updateOnebreastAfterVisitModel parentId must not be null."); | |
| 59 | - breastAfterVisitModel.setModified(new Date()); | |
| 60 | - iBreastAfterVisitDao.updateOneBreastAfterVisit2(breastAfterVisitModel); | |
| 61 | - } | |
| 62 | 46 | |
| 63 | - } | |
| 64 | 47 | /** |
| 65 | 48 | * 分页查询列表 |
| 66 | 49 | * @param breastAfterVisitQuery |