Browse Source

设置申述和核查关联配置默认为false

zhanghang 3 years atrás
parent
commit
7826f05a75
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/main/java/com/diagbot/facade/BehospitalInfoFacade.java

+ 5 - 1
src/main/java/com/diagbot/facade/BehospitalInfoFacade.java

@@ -262,7 +262,11 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
             //通过页面类型显示不同操作按钮
             showButtonByPageType(hospitalId, getDetailVO, res);
             //添加核查操作是否与申诉状态关联配置
-            res.put("checkOperationWithAppeal", sysHospitalSetFacade.getValue(hospitalId, "check_operation_with_appeal"));
+            if(StringUtil.isBlank(sysHospitalSetFacade.getValue(hospitalId, "check_operation_with_appeal"))){
+                res.put("checkOperationWithAppeal", false);
+            }else{
+                res.put("checkOperationWithAppeal",Boolean.parseBoolean(sysHospitalSetFacade.getValue(hospitalId, "check_operation_with_appeal")));
+            }
         }
 
         // 获取提示信息