Parcourir la source

病案首页数据拼接

zhoutg il y a 5 ans
Parent
commit
6c649c2185
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  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);
 
         //  调用质控接口