From 6ceee6498f30a7b3af69fc491bdf275f73b6609b Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Thu, 16 Nov 2023 16:42:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20mml=E6=95=B0=E6=8D=AE=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E4=B8=8D=E6=BF=80=E6=B4=BB=E4=BD=BF=E7=94=A8=E7=9A=84=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mmlManage/neOperate.ts | 2 +- src/api/mmlManage/omcOperate.ts | 2 +- src/api/mmlManage/udmOperate.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/mmlManage/neOperate.ts b/src/api/mmlManage/neOperate.ts index 3222baf4..2b227719 100644 --- a/src/api/mmlManage/neOperate.ts +++ b/src/api/mmlManage/neOperate.ts @@ -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'`, }, }); // 解析数据 diff --git a/src/api/mmlManage/omcOperate.ts b/src/api/mmlManage/omcOperate.ts index de506f12..f7d27a04 100644 --- a/src/api/mmlManage/omcOperate.ts +++ b/src/api/mmlManage/omcOperate.ts @@ -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'`, }, }); // 解析数据 diff --git a/src/api/mmlManage/udmOperate.ts b/src/api/mmlManage/udmOperate.ts index 2370184e..a6a7d9fe 100644 --- a/src/api/mmlManage/udmOperate.ts +++ b/src/api/mmlManage/udmOperate.ts @@ -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'`, }, }); // 解析数据