Commit a5c5b72de717888861d050973a88c3c158dad72b
1 parent
eee026dbf7
Exists in
master
and in
7 other branches
1
Showing 1 changed file with 6 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
a5c5b72
... | ... | @@ -1661,6 +1661,12 @@ |
1661 | 1661 | patients = list.get(0); |
1662 | 1662 | } |
1663 | 1663 | } else if(StringUtils.isNotEmpty(queryRequest.getBarCode())){ |
1664 | + | |
1665 | + String code = patientCheckTicketService.updateTicket(queryRequest.getBarCode(), 2, hospitalId); | |
1666 | + if (code != null) { | |
1667 | + return new BaseResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg(code); | |
1668 | + } | |
1669 | + | |
1664 | 1670 | PatientCheckTicket checkTicket =patientCheckTicketService.getTicket(queryRequest.getBarCode()); |
1665 | 1671 | if(null!=checkTicket){ |
1666 | 1672 | Patients patients1 = patientsService.findOnePatientById(checkTicket.getPatientId()); |