@@ -176,6 +176,13 @@ func (this *BusinessChartController) ChartEdbDataList() {
return
}
+ if edbInfo.EdbType == 1 { //禁止查询基础指标的数据
+ br.Data = make([]*data_manage.EdbDataList, 0)
+ br.Ret = 200
+ br.Msg = "获取成功"
+ return
+ }
+
edbDataList, e := services.GetEdbInfoDataList(edbInfo)
if e != nil {
br.Msg = "获取失败"