Commit 1a39085992ea88cc4586794d7907f3adeda4d662

Authored by liquanyu
1 parent 7fc5b88f1a

条形码

Showing 1 changed file with 3 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java View file @ 1a39085
... ... @@ -310,7 +310,7 @@
310 310 }
311 311 }
312 312  
313   - final Patients patient = getPatientsData(yunRequest);
  313 + Patients patient = getPatientsData(yunRequest);
314 314  
315 315  
316 316 //承德市妇幼通过就诊卡号查询到病人id保存下来
... ... @@ -491,7 +491,7 @@
491 491 }
492 492 //自动诊断
493 493 System.out.println("antenatalExaminationFacade.autoPatientRisk");
494   - antenatalExaminationFacade.autoPatientRisk(patient,userId);
  494 + antenatalExaminationFacade.autoPatientRisk(tempP,userId);
495 495  
496 496 }
497 497 });
... ... @@ -518,7 +518,7 @@
518 518 patientsQuery.setYn(YnEnums.YES.getId());
519 519 while (true)
520 520 {
521   - numberCode = patients.getHospitalId()+DateUtil.getyyyy_MM_dd(new Date()) +new Random().nextInt(9999);
  521 + numberCode = patients.getHospitalId()+DateUtil.getYmd(new Date()) + new Random().nextInt(9999);
522 522 patientsQuery.setNumberCode(numberCode);
523 523 List<Patients> patientses = yunBookbuildingService.queryPregnantWithQuery(patientsQuery);
524 524 if (!CollectionUtils.isNotEmpty(patientses))