|
@@ -175,6 +175,11 @@ func (this *EdbInfoController) EiaSteoData() {
|
|
|
}
|
|
|
|
|
|
total, err := data_manage.GetEiaSteoIndexDataCount(v.IndexCode)
|
|
|
+ if err != nil {
|
|
|
+ br.Msg = "获取数据失败"
|
|
|
+ br.ErrMsg = "获取指标统计数据失败,Err:" + err.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
page := paging.GetPaging(currentIndex, pageSize, total)
|
|
|
|
|
|
dataList, err := data_manage.GetEiaSteoIndexDataList(v.IndexCode, startSize, pageSize)
|