Roc 1 anno fa
parent
commit
90a5f165cd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      services/data/excel_info.go

+ 1 - 1
services/data/excel_info.go

@@ -448,7 +448,7 @@ func GetDataByTableDataConfig(tableDataConfig TableDataConfig) (resultResp reque
 	}
 
 	// 寻找A列的数据列表
-	firstEdbInfo, ok := edbInfoMap[tableDataConfig.Data[0].EdbInfoId]
+	firstEdbInfo, ok := edbInfoMap[tableDataConfig.TableEdbInfoList[0].EdbInfoId]
 	if !ok {
 		err = errors.New("找不到A列指标")
 		return