Commit 7cec99eb4b5d04bd6acbbe6f2f6c057b836a45de
1 parent
786c30b963
Exists in
master
and in
6 other branches
妇女建档
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ResidentsArchiveFacade.java
View file @
7cec99e
| ... | ... | @@ -256,7 +256,7 @@ |
| 256 | 256 | if (CollectionUtils.isNotEmpty(modelList)){ |
| 257 | 257 | ResidentsArchiveModel archiveModel = modelList.get(0); |
| 258 | 258 | |
| 259 | - if (archiveModel != null & StringUtils.isNotEmpty(addRequest.getPhone()) && !archiveModel.getPhone().equals(addRequest.getPhone()) ){ | |
| 259 | + if (archiveModel != null & StringUtils.isNotEmpty(addRequest.getPhone()) && archiveModel.getPhone() != null && !archiveModel.getPhone().equals(addRequest.getPhone()) ){ | |
| 260 | 260 | query.setCertificateNum(null); |
| 261 | 261 | query.setPhone(addRequest.getPhone()); |
| 262 | 262 | modelList = residentsArchiveService.queryResident(query); |