Commit 38019843b5429217770a0dc87fed839c3fff8213
1 parent
31af91e833
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 24 additions and 24 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
3801984
... | ... | @@ -686,30 +686,30 @@ |
686 | 686 | data = convertToQuanCPatient(patientses, userId, hospital); |
687 | 687 | } |
688 | 688 | } |
689 | - if (StringUtils.isNotEmpty(hospital)) { | |
690 | - Organization og = organizationService.getOrganization(Integer.valueOf(hospital)); | |
691 | - | |
692 | - if (og != null && "2".equals(og.getCityId()) && riskPatientsQueryRequest.getShowDetail() == 1) {//隐藏姓名、地址 | |
693 | - for (Object result : data) { | |
694 | - if (result instanceof RiskPatientsResult) { | |
695 | - RiskPatientsResult riskResult = (RiskPatientsResult) result; | |
696 | - riskResult.setName(StringUtils.encryName(riskResult.getName())); | |
697 | - riskResult.setAddr(StringUtils.encryAddr(riskResult.getAddr())); | |
698 | - riskResult.setRegisterAddr(StringUtils.encryAddr(riskResult.getRegisterAddr())); | |
699 | - } else if (result instanceof QuanPatientsResult) { | |
700 | - QuanPatientsResult quanResult = (QuanPatientsResult) result; | |
701 | - quanResult.setName(StringUtils.encryName(quanResult.getName())); | |
702 | - quanResult.setAddr(StringUtils.encryAddr(quanResult.getAddr())); | |
703 | - quanResult.setRegisterAddr(StringUtils.encryAddr(quanResult.getRegisterAddr())); | |
704 | - } else if (result instanceof QuanChanResult) { | |
705 | - QuanChanResult quanResult = (QuanChanResult) result; | |
706 | - quanResult.setName(StringUtils.encryName(quanResult.getName())); | |
707 | - quanResult.setAddr(StringUtils.encryAddr(quanResult.getAddr())); | |
708 | - quanResult.setRegisterAddr(StringUtils.encryAddr(quanResult.getRegisterAddr())); | |
709 | - } | |
710 | - } | |
711 | - } | |
712 | - } | |
689 | +// if (StringUtils.isNotEmpty(hospital)) { | |
690 | +// Organization og = organizationService.getOrganization(Integer.valueOf(hospital)); | |
691 | +// | |
692 | +// if (og != null && "2".equals(og.getCityId()) && riskPatientsQueryRequest.getShowDetail() == 1) {//隐藏姓名、地址 | |
693 | +// for (Object result : data) { | |
694 | +// if (result instanceof RiskPatientsResult) { | |
695 | +// RiskPatientsResult riskResult = (RiskPatientsResult) result; | |
696 | +// riskResult.setName(StringUtils.encryName(riskResult.getName())); | |
697 | +// riskResult.setAddr(StringUtils.encryAddr(riskResult.getAddr())); | |
698 | +// riskResult.setRegisterAddr(StringUtils.encryAddr(riskResult.getRegisterAddr())); | |
699 | +// } else if (result instanceof QuanPatientsResult) { | |
700 | +// QuanPatientsResult quanResult = (QuanPatientsResult) result; | |
701 | +// quanResult.setName(StringUtils.encryName(quanResult.getName())); | |
702 | +// quanResult.setAddr(StringUtils.encryAddr(quanResult.getAddr())); | |
703 | +// quanResult.setRegisterAddr(StringUtils.encryAddr(quanResult.getRegisterAddr())); | |
704 | +// } else if (result instanceof QuanChanResult) { | |
705 | +// QuanChanResult quanResult = (QuanChanResult) result; | |
706 | +// quanResult.setName(StringUtils.encryName(quanResult.getName())); | |
707 | +// quanResult.setAddr(StringUtils.encryAddr(quanResult.getAddr())); | |
708 | +// quanResult.setRegisterAddr(StringUtils.encryAddr(quanResult.getRegisterAddr())); | |
709 | +// } | |
710 | +// } | |
711 | +// } | |
712 | +// } | |
713 | 713 | return new BaseListResponse().setErrormsg("成功").setErrorcode(ErrorCodeConstants.SUCCESS).setData(data).setPageInfo(patientsQuery.getPageInfo()); |
714 | 714 | } |
715 | 715 |