@@ -448,7 +448,7 @@ func ChartInfoRefreshV2(chartInfoId int) (err error) {
}
// 批量刷新
- err = EdbInfoRefreshAllFromBase(edbIdList, false)
+ err, errmsg = EdbInfoRefreshAllFromBase(edbIdList, false)
if err != nil {
return
@@ -14,8 +14,7 @@ import (
// @author Roc
// @datetime 2022-09-16 11:04:44
// @description 将原有的单个指标刷新,调整为批量多个指标刷新
-func EdbInfoRefreshAllFromBase(edbInfoIdList []int, refreshAll bool) (err error) {
- var errmsg string
+func EdbInfoRefreshAllFromBase(edbInfoIdList []int, refreshAll bool) (err error, errmsg string) {
defer func() {
fmt.Println("EdbInfoRefreshAllFromBaseV2 Err:" + err.Error() + ";errmsg:" + errmsg)