From a4e8fa7f1142afa91271c788aec31ce4c30eb95e Mon Sep 17 00:00:00 2001 From: yuanruji Date: Wed, 9 Oct 2024 11:15:42 +0800 Subject: [PATCH] 111 --- .../db-resource/internal/controller/statistic/statistic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbm-services/common/db-resource/internal/controller/statistic/statistic.go b/dbm-services/common/db-resource/internal/controller/statistic/statistic.go index bf5c5c9c53..d25c2cfa53 100644 --- a/dbm-services/common/db-resource/internal/controller/statistic/statistic.go +++ b/dbm-services/common/db-resource/internal/controller/statistic/statistic.go @@ -93,7 +93,7 @@ type DbmSpecParam struct { func (m DbmSpecParam) getQueryParam() map[string]string { p := make(map[string]string) - if lo.IsNotEmpty(m.DbType) { + if lo.IsNotEmpty(m.DbType) && m.DbType != model.PUBLIC_RESOURCE_DBTYEP { p["spec_db_type"] = m.DbType } if lo.IsNotEmpty(m.MachineType) {