Commit f7e0c21faecf376ce3ce6c12ab62e93571041f74

Authored by liquanyu
1 parent 031422eb2b

update

Showing 1 changed file with 4 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java View file @ f7e0c21
... ... @@ -1444,11 +1444,14 @@
1444 1444 }else if ("4".equals(HIS_VERSION)) {
1445 1445  
1446 1446 List<Map<String,Object>> hisPatient = qhdfyHisService.getPatientInfoList(param.getVcCardNo());
  1447 +
1447 1448 if (CollectionUtils.isNotEmpty(hisPatient))
1448 1449 {
  1450 + System.out.println("hisPatient size = " + hisPatient.size());
1449 1451 Map<String,Object> babyHis = hisPatient.get(0);
1450 1452 if (babyHis != null && babyHis.get("phone") != null && StringUtils.isNotEmpty(babyHis.get("phone").toString()))
1451 1453 {
  1454 + System.out.println("hisPatient phone = " + babyHis.get("phone").toString());
1452 1455 BabyModelQuery babyModelQuery = new BabyModelQuery();
1453 1456 babyModelQuery.setYn(YnEnums.YES.getId());
1454 1457 babyModelQuery.setMphone(babyHis.get("phone").toString());
... ... @@ -1462,7 +1465,7 @@
1462 1465 babyQuery.setHospitalIdList(groupsFacade.findGroupHospital(userId, false));
1463 1466 //
1464 1467 List<BabyModel> models = babyBookbuildingService.queryBabyBuildByCond(babyQuery);
1465   -
  1468 + System.out.println("models = " + models.size());
1466 1469 if (CollectionUtils.isNotEmpty(models)) {
1467 1470 BabyModel model = models.get(0);
1468 1471 if (model != null) {