Commit 8a5a92d6e3bf6ef7a37439af69ab64ca484f2cd8
1 parent
40c0521775
Exists in
master
and in
1 other branch
update resident
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ResidentsArchiveFacade.java
View file @
8a5a92d
| ... | ... | @@ -275,6 +275,8 @@ |
| 275 | 275 | } |
| 276 | 276 | |
| 277 | 277 | if (StringUtils.isNotEmpty(addRequest.getPhone())){ |
| 278 | + query.setCertificateTypeId(null); | |
| 279 | + query.setCertificateNum(null); | |
| 278 | 280 | query.setPhone(addRequest.getPhone()); |
| 279 | 281 | List<ResidentsArchiveModel> modelList = residentsArchiveService.queryResident(query); |
| 280 | 282 | if (CollectionUtils.isNotEmpty(modelList)){ |
| ... | ... | @@ -285,7 +287,6 @@ |
| 285 | 287 | } |
| 286 | 288 | |
| 287 | 289 | if (StringUtils.isNotEmpty(addRequest.getVcCardNo())){ |
| 288 | - query.setCertificateNum(null); | |
| 289 | 290 | query.setPhone(null); |
| 290 | 291 | //判断该就诊卡号是否在该医院建档 |
| 291 | 292 | query.setVcCardNo(addRequest.getVcCardNo()); |