Commit 8eaa5ac358ca0702860b275b485c4ee73e7c6b79

Authored by liquanyu
1 parent 24009cd382

衡水导出

Showing 2 changed files with 5 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java View file @ 8eaa5ac
... ... @@ -2429,6 +2429,8 @@
2429 2429 patientsQuery.setDesc("fmDate");
2430 2430 patientsQuery.setSort("fmDate");
2431 2431  
  2432 +
  2433 + System.out.println("分娩查询"+ patientsQuery.convertToQuery().convertToMongoQuery().toString());
2432 2434 List<Patients> patientsList = patientsService.queryPatient(patientsQuery);
2433 2435  
2434 2436  
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java View file @ 8eaa5ac
... ... @@ -1266,7 +1266,9 @@
1266 1266 if (startDate != null && endDate != null) {
1267 1267 c.and("bookbuildingDate").gte(startDate).lt(DateUtil.addDay(endDate, 1));
1268 1268 }
1269   - List<Patients> patients = mongoTemplate.find(Query.query(c), Patients.class);
  1269 + Query query = Query.query(c);
  1270 + System.out.println(query.toString());
  1271 + List<Patients> patients = mongoTemplate.find(query, Patients.class);
1270 1272 doFilter(patients, ageType, patientType);
1271 1273 return patients;
1272 1274 }