Commit 01cce7f1eaabc0a47d7dc3b999319da0bd5fd89a
1 parent
d96b01c616
Exists in
master
and in
6 other branches
追访加入查询条件
Showing 1 changed file with 5 additions and 5 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/TrackDownFacade.java
View file @
01cce7f
... | ... | @@ -145,15 +145,15 @@ |
145 | 145 | |
146 | 146 | PatientsQuery patientsQuery = new PatientsQuery(); |
147 | 147 | if (downQueryRequest.getStartDueDate() != null) {//预产期开始日期 |
148 | - patientsQuery.setDueDateStart(downQueryRequest.getStartFmTime()); | |
148 | + patientsQuery.setDueDateStart(downQueryRequest.getStartDueDate()); | |
149 | 149 | isPatient = true; |
150 | 150 | } |
151 | - if (downQueryRequest.getStartDueDate() != null) {//预产期结束日期 | |
152 | - patientsQuery.setDueDateEnd(downQueryRequest.getEndFmTime()); | |
151 | + if (downQueryRequest.getEndDueDate() != null) {//预产期结束日期 | |
152 | + patientsQuery.setDueDateEnd(downQueryRequest.getEndDueDate()); | |
153 | 153 | isPatient = true; |
154 | 154 | } |
155 | 155 | if (downQueryRequest.getStartFmTime() != null) {//分娩开始日期 |
156 | - patientsQuery.setFmDateStart(downQueryRequest.getEndNextCheckTime()); | |
156 | + patientsQuery.setFmDateStart(downQueryRequest.getStartFmTime()); | |
157 | 157 | isPatient = true; |
158 | 158 | } |
159 | 159 | if (downQueryRequest.getEndFmTime() != null) {//分娩结束日期 |
... | ... | @@ -207,7 +207,7 @@ |
207 | 207 | patientsQuery.setHospitalId(hospitalId); |
208 | 208 | patientsQuery.setType(1); |
209 | 209 | patientsQuery.setQueryNo(downQueryRequest.getKey()); |
210 | - // System.out.println("过滤条件:"+patientsQuery.convertToQuery().convertToMongoQuery()); | |
210 | + System.out.println("过滤条件:"+patientsQuery.convertToQuery().convertToMongoQuery()); | |
211 | 211 | List<Patients> patientses = patientsService.queryPatient(patientsQuery); |
212 | 212 | List<String> pids = new ArrayList<>(); |
213 | 213 | for (Patients ps : patientses) { |