Commit 68735991b833f10524deec92e0324454c23eeaa8
1 parent
26e702f7a3
Exists in
master
and in
6 other branches
update code
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
6873599
... | ... | @@ -2043,7 +2043,7 @@ |
2043 | 2043 | |
2044 | 2044 | BabyModelQuery babyQuery = new BabyModelQuery(); |
2045 | 2045 | babyQuery.setYn(YnEnums.YES.getId()); |
2046 | - babyQuery.setMcertNo(cardNo); | |
2046 | + babyQuery.setPhoneOrcardNo(cardNo); | |
2047 | 2047 | //获取最近一次的建档记录 |
2048 | 2048 | List<BabyModel> models = babyBookbuildingService.queryBabyBuildByCond(babyQuery); |
2049 | 2049 | if (CollectionUtils.isNotEmpty(models)) { |
... | ... | @@ -2068,7 +2068,7 @@ |
2068 | 2068 | |
2069 | 2069 | result.setFatherProfessionTypeId(babyModel.getFproTypeId()); |
2070 | 2070 | } else { |
2071 | - patientsQuery.setCardNo(cardNo); | |
2071 | + patientsQuery.setPhoneOrCert(cardNo); | |
2072 | 2072 | List<Patients> patients = yunBookbuildingService.queryPregnantWithQuery(patientsQuery); |
2073 | 2073 | if (CollectionUtils.isNotEmpty(patients)) { |
2074 | 2074 | Patients patient = patients.get(0); |