Commit 228c72669b74e1013fd5cb0a38fb85d943ac3b89
1 parent
b24c7db67b
Exists in
master
and in
2 other branches
解决lis报告表里机构id存在空格问题
Showing 2 changed files with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/LisController.java
View file @
228c726
... | ... | @@ -84,7 +84,7 @@ |
84 | 84 | model.setStatus(lisRequest.getStatus()); |
85 | 85 | model.setId(lisRequest.getId()); |
86 | 86 | model.setVcCardNo(lisRequest.getVcCardNo()); |
87 | - model.setHospitalId(lisRequest.getHospitalId()); | |
87 | + model.setHospitalId(lisRequest.getHospitalId().trim()); | |
88 | 88 | model.setLisId(lisRequest.getLisId()); |
89 | 89 | model.setAge(lisRequest.getAge()); |
90 | 90 | model.setName(lisRequest.getName()); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/LisFacade.java
View file @
228c726
... | ... | @@ -748,7 +748,7 @@ |
748 | 748 | for (LisReportModel lisReportModel : lises) { |
749 | 749 | Organization organization = null; |
750 | 750 | if (StringUtils.isNotEmpty(lisReportModel.getHospitalId())) { |
751 | - organization = organizationService.getOrganization(Integer.parseInt(lisReportModel.getHospitalId())); | |
751 | + organization = organizationService.getOrganization(Integer.parseInt(lisReportModel.getHospitalId().trim())); | |
752 | 752 | } |
753 | 753 | String json = lisReportModel.getItemJson(); |
754 | 754 | if (StringUtils.isNotEmpty(json)) { |