Commit 1a8b7e4fcc6da39e0159fc9591abfd5082335192
1 parent
7bde78883d
Exists in
master
and in
6 other branches
自动生成追访信息
Showing 2 changed files with 3 additions and 5 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/TrackDownFacade.java
View file @
1a8b7e4
| ... | ... | @@ -243,8 +243,8 @@ |
| 243 | 243 | try { |
| 244 | 244 | //申请产筛单 |
| 245 | 245 | SieveApplyOrderModel sieveModel = mongoTemplate.findOne(Query.query(Criteria.where("parentId").is(parentId)).with(new Sort(Sort.Direction.DESC, "created")), SieveApplyOrderModel.class); |
| 246 | - if (sieveModel != null) { | |
| 247 | - map.put("nextCheckTime", sieveModel.getCheckDate()); | |
| 246 | + if (sieveModel != null) {//下次产筛时间 | |
| 247 | + map.put("nextSieveTime", sieveModel.getCheckDate()); | |
| 248 | 248 | } |
| 249 | 249 | } catch (Exception e) { |
| 250 | 250 | e.printStackTrace(); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/TrackDownServiceImpl.java
View file @
1a8b7e4
| ... | ... | @@ -121,9 +121,7 @@ |
| 121 | 121 | temp.put("chfc", 3);//产后复查空白 |
| 122 | 122 | temp.put("resident", 1); // 妇女建档 |
| 123 | 123 | temp.put("check", 3); // 婚检 |
| 124 | - Long checkNum = mongoTemplate.count(Query.query(Criteria.where("certificateNum").is(archiveModel.getCertificateNum()).and("yn").is(1)), PremaritalCheckup.class); | |
| 125 | - | |
| 126 | - | |
| 124 | + Long checkNum = mongoTemplate.count(Query.query(Criteria.where("certificateNum").is(archiveModel.getCertificateNum()).and("hospitalId").is(archiveModel.getHospitalId()).and("yn").is(1)), PremaritalCheckup.class); | |
| 127 | 125 | PatientsQuery patientsQuery = new PatientsQuery(); |
| 128 | 126 | patientsQuery.setHospitalId(archiveModel.getHospitalId()); |
| 129 | 127 | if (archiveModel.getCertificateNum() != null) { |