Commit c93e5910d69af5beb5a834c0bcab1e21528d7cc4
1 parent
66aa180682
Exists in
master
and in
7 other branches
分娩作废产检劵
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
c93e591
... | ... | @@ -719,7 +719,7 @@ |
719 | 719 | List<BasicConfig> data = basicConfigService.queryBasicConfig(basicConfigQuery); |
720 | 720 | if (CollectionUtils.isNotEmpty(data)) { |
721 | 721 | //身份证类型得到丈夫的生日 必须为身份证类型 |
722 | - if ("SFZ".endsWith(data.get(0).getCode())) { | |
722 | + if (StringUtils.isNotEmpty(data.get(0).getCode())&&"SFZ".endsWith(data.get(0).getCode())) { | |
723 | 723 | String cardNo = yunRequest.getHusbandCertificateNum(); |
724 | 724 | Date birth = StringUtils.getBirthDay(cardNo); |
725 | 725 | patient.setHusbandBirth(birth); |