zhoutg 5 лет назад
Родитель
Сommit
6c649c2185
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      src/main/java/com/diagbot/facade/BehospitalInfoFacade.java

+ 4 - 3
src/main/java/com/diagbot/facade/BehospitalInfoFacade.java

@@ -211,9 +211,10 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
         }
 
         // 病案首页
-        addDataWithFirstPage("病案首页",  homePage, medrecVoList, dicMap,
-                homePageList, homeOperationInfoList);
-
+        if (homePage != null ) {
+            addDataWithFirstPage("病案首页",  homePage, medrecVoList, dicMap,
+                    homePageList, homeOperationInfoList);
+        }
         queryVo.setMedrec(medrecVoList);
 
         //  调用质控接口