Commit 40c6e4f86d05cdfaf6ed7af5c4f28f243b955e38
1 parent
313861b511
Exists in
master
and in
8 other branches
修改新电子病历
Showing 1 changed file with 6 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ApplyOrderFacade.java
View file @
40c6e4f
| ... | ... | @@ -202,10 +202,12 @@ |
| 202 | 202 | referralApplyOrderModel.setServiceType(ServiceTypeEnums.STANDARD_SERVICE.getId()); |
| 203 | 203 | List<String> diagnoseList = babyCheckFacade.getBabyLastDiagnose(babyModel.getPid()); |
| 204 | 204 | List lsit = new ArrayList(); |
| 205 | - for(String str : diagnoseList){ | |
| 206 | - BasicConfig basicConfig = basicConfigService.getOneBasicConfigById(str); | |
| 207 | - if(null!=basicConfig){ | |
| 208 | - lsit.add(basicConfig.getName()); | |
| 205 | + if(CollectionUtils.isNotEmpty(diagnoseList)){ | |
| 206 | + for(String str : diagnoseList){ | |
| 207 | + BasicConfig basicConfig = basicConfigService.getOneBasicConfigById(str); | |
| 208 | + if(null!=basicConfig){ | |
| 209 | + lsit.add(basicConfig.getName()); | |
| 210 | + } | |
| 209 | 211 | } |
| 210 | 212 | } |
| 211 | 213 | referralApplyOrderModel.setrRisk(lsit); |