瀏覽代碼

病案首页数据拼接

zhoutg 5 年之前
父節點
當前提交
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);
 
         //  调用质控接口