Commit 75915ad44717c3f2f78c178fbb3fa42901ee565f
1 parent
18a5de30bc
Exists in
master
and in
8 other branches
add code
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
75915ad
| ... | ... | @@ -109,9 +109,9 @@ | 
| 109 | 109 | PatientsQuery patientsQuery = new PatientsQuery(); | 
| 110 | 110 | patientsQuery.setYn(YnEnums.YES.getId()); | 
| 111 | 111 | //如果身份证号码不为空就以身份证号码查询 | 
| 112 | - if (!StringUtils.isEmpty(bookbuildingQueryRequest.getIdCard())) | |
| 112 | + if (!StringUtils.isEmpty(bookbuildingQueryRequest.getCardNo())) | |
| 113 | 113 | { | 
| 114 | - patientsQuery.setCardNo(bookbuildingQueryRequest.getIdCard()); | |
| 114 | + patientsQuery.setCardNo(bookbuildingQueryRequest.getCardNo()); | |
| 115 | 115 | patients = yunBookbuildingService.queryPregnantWithQuery(patientsQuery); | 
| 116 | 116 | } | 
| 117 | 117 | //否则用就诊卡号 查询到这个孕妇的身份证号码 再用身份证号码查询该孕妇的所有建档 包括产妇记录 |