fix: mml数据过滤不激活使用的记录
This commit is contained in:
@@ -13,7 +13,7 @@ export async function getMMLByNE(neType: string) {
|
||||
url: `/api/rest/databaseManagement/v1/elementType/omc_db/objectType/mml_system`,
|
||||
method: 'get',
|
||||
params: {
|
||||
SQL: `select * from mml_system where ne_type = '${neType}'`,
|
||||
SQL: `select * from mml_system where ne_type = '${neType}' and status = 'Active'`,
|
||||
},
|
||||
});
|
||||
// 解析数据
|
||||
|
||||
@@ -12,7 +12,7 @@ export async function getMMLByOMC() {
|
||||
url: `/api/rest/databaseManagement/v1/elementType/omc_db/objectType/mml_command`,
|
||||
method: 'get',
|
||||
params: {
|
||||
SQL: `select * from mml_command where ne_type = 'OMC'`,
|
||||
SQL: `select * from mml_command where ne_type = 'OMC' and status = 'Active'`,
|
||||
},
|
||||
});
|
||||
// 解析数据
|
||||
|
||||
@@ -12,7 +12,7 @@ export async function getMMLByUDM() {
|
||||
url: `/api/rest/databaseManagement/v1/elementType/omc_db/objectType/mml_subscriber`,
|
||||
method: 'get',
|
||||
params: {
|
||||
SQL: `select * from mml_subscriber where ne_type = 'UDM'`,
|
||||
SQL: `select * from mml_subscriber where ne_type = 'UDM' and status = 'Active'`,
|
||||
},
|
||||
});
|
||||
// 解析数据
|
||||
|
||||
Reference in New Issue
Block a user