|
@@ -29,6 +29,10 @@ func ChartInfoRefreshV1(chartInfoId int) (err error) {
|
|
|
newBaseEdbInfoArr := make([]*data_manage.EdbInfo, 0)
|
|
|
baseMap := make(map[int]*data_manage.EdbInfo)
|
|
|
for _, bv := range baseEdbInfoArr {
|
|
|
+ // 如果不是普通指标,那么过滤
|
|
|
+ if bv.EdbInfoType != 0 {
|
|
|
+ continue
|
|
|
+ }
|
|
|
if _, ok := baseMap[bv.EdbInfoId]; !ok {
|
|
|
newBaseEdbInfoArr = append(newBaseEdbInfoArr, bv)
|
|
|
}
|