Commit b24c7db67b5cb84a2f947bed45dd514bce8ee214
1 parent
a9361f8fbb
Exists in
master
and in
2 other branches
产检管理页面,配置中心短信列表,推送记录列表,孕产妇管理三个页面手机号加密处理
Showing 1 changed file with 5 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntExRecordFacade.java
View file @
b24c7db
| ... | ... | @@ -423,9 +423,8 @@ | 
| 423 | 423 | |
| 424 | 424 | if (isCurrent && CollectionUtils.isNotEmpty(data)) { | 
| 425 | 425 | for (AntExManagerResult result : data) { | 
| 426 | - //手机号加密 cfl | |
| 427 | - result.setPhone(StringUtils.encryPhone(result.getPhone())); | |
| 428 | 426 | |
| 427 | + | |
| 429 | 428 | if (CollectionUtils.isNotEmpty(result.getrLevel())) { | 
| 430 | 429 | List<Map> list = result.getrLevel(); | 
| 431 | 430 | List<String> ids = new ArrayList<>(); | 
| ... | ... | @@ -459,6 +458,10 @@ | 
| 459 | 458 | }); | 
| 460 | 459 | } | 
| 461 | 460 | |
| 461 | + for(AntExManagerResult result : data){ | |
| 462 | + //手机号加密 cfl | |
| 463 | + result.setPhone(StringUtils.encryPhone(result.getPhone())); | |
| 464 | + } | |
| 462 | 465 | |
| 463 | 466 | return new BaseListResponse().setData(data).setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setPageInfo(antExRecordQuery.getPageInfo()); | 
| 464 | 467 | } |