Commit c89e76ffca45df6abd173a9922a30ae7f38226bc

Authored by liquanyu
1 parent df4f2cb2dd

update

Showing 3 changed files with 3 additions and 2 deletions

platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java View file @ c89e76f
... ... @@ -787,7 +787,7 @@
787 787  
788 788  
789 789  
790   - if (null != queryNo) {
  790 + if (StringUtils.isNotEmpty(queryNo)) {
791 791 MongoCondition c = MongoCondition.newInstance();
792 792 MongoCondition con1 = MongoCondition.newInstance("phone", queryNo, MongoOper.IS);
793 793 MongoCondition con2 = MongoCondition.newInstance("username", "^" + queryNo, MongoOper.LIKE);
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java View file @ c89e76f
... ... @@ -2546,7 +2546,7 @@
2546 2546  
2547 2547 //System.out.println("分娩档案查询" + patientsQuery.convertToQuery().convertToMongoQuery().toString());
2548 2548 List <Patients> patientsList = patientsService.queryPatient(patientsQuery);
2549   - //System.out.println("分娩档案查询结束" + patientsQuery.convertToQuery().convertToMongoQuery().toString());
  2549 + System.out.println("分娩档案查询结束" + patientsQuery.convertToQuery().convertToMongoQuery().toString());
2550 2550  
2551 2551 // 这里就设置分页内容
2552 2552 childbirthManagerResult.setPageInfo(patientsQuery.getPageInfo());
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java View file @ c89e76f
... ... @@ -707,6 +707,7 @@
707 707 }
708 708 }else {
709 709 //以前逻辑
  710 + System.out.println(patientsQuery.convertToQuery().convertToMongoQuery().toString());
710 711 patientses = patientsService.queryPatientBySort(patientsQuery, riskPatientsQueryRequest.getSort(), riskPatientsQueryRequest.getOrder());
711 712 }
712 713 stopWatch.stop();