Commit c2c08f6f6bede258b0a2b01a7e1861f8cfdcadc7

Authored by haorp
1 parent 067be9d255
Exists in dev

1.手机号缺失的数据补充到出参中

Showing 1 changed file with 7 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntExRecordFacade.java View file @ c2c08f6
... ... @@ -499,8 +499,13 @@
499 499  
500 500 if("2100002419".equals(hospitalId)){
501 501 for(AntExManagerResult result : data){
502   - //手机号加密 cfl
503   - result.setPhone(result.getPhone());
  502 + // 手机号缺失的数据补充到出参中
  503 + if(StringUtils.isNotEmpty(result.getPhone())){
  504 + Patients patients = patientsService.findOnePatientById(result.getParentId());
  505 + if (null != patients) {
  506 + result.setPhone(patients.getPhone());
  507 + }
  508 + }
504 509 }
505 510 }else{
506 511 for(AntExManagerResult result : data){