From 040acff39d1bea9dcc8bcdf4492c2e75b4589956 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 10 May 2024 10:46:44 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96=E5=AE=9A=E6=97=B6=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=B1=95=E7=A4=BA=EF=BC=8C=E6=94=AF=E6=8C=81?= =?UTF-8?q?swaggerURL=E7=9A=84=E6=A8=A1=E7=B3=8A=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/system/mapper/ExtScheduleMapper.xml | 4 ++++ .../src/views/project-management/taskCenter/locale/en-US.ts | 2 +- .../src/views/project-management/taskCenter/locale/zh-CN.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml index bde5e90092..5ad0adca89 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml @@ -53,6 +53,10 @@ task.resource_name like concat('%', #{request.keyword},'%') or task.resource_num like concat('%', #{request.keyword},'%') + + + or task.swagger_url like concat('%', #{request.keyword},'%') + ) diff --git a/frontend/src/views/project-management/taskCenter/locale/en-US.ts b/frontend/src/views/project-management/taskCenter/locale/en-US.ts index 6f5b4f555c..11d0b4a749 100644 --- a/frontend/src/views/project-management/taskCenter/locale/en-US.ts +++ b/frontend/src/views/project-management/taskCenter/locale/en-US.ts @@ -55,7 +55,7 @@ export default { 'project.taskCenter.batchDisableTask': 'Are you sure to disable {num} tasks?', 'project.taskCenter.batchEnableTaskContent': 'Enabling will execute the task', 'project.taskCenter.batchDisableTaskContent': 'Closing will affect the execution of the task', - 'project.taskCenter.swaggerUrl': 'Swagger Url', + 'project.taskCenter.swaggerUrl': 'Swagger URL', 'project.taskCenter.confirmEnable': 'Confirm enable', 'project.taskCenter.confirmDisable': 'Confirm disable', 'project.taskCenter.enableSuccess': 'Enable successfully', diff --git a/frontend/src/views/project-management/taskCenter/locale/zh-CN.ts b/frontend/src/views/project-management/taskCenter/locale/zh-CN.ts index 6d6e978c70..ba2dd57215 100644 --- a/frontend/src/views/project-management/taskCenter/locale/zh-CN.ts +++ b/frontend/src/views/project-management/taskCenter/locale/zh-CN.ts @@ -53,7 +53,7 @@ export default { 'project.taskCenter.batchDisableTask': '确定关闭 {num} 个任务吗?', 'project.taskCenter.batchEnableTaskContent': '开启会执行任务', 'project.taskCenter.batchDisableTaskContent': '关闭后会影响任务的执行', - 'project.taskCenter.swaggerUrl': 'Swagger Url', + 'project.taskCenter.swaggerUrl': 'Swagger URL', 'project.taskCenter.confirmEnable': '确认开启', 'project.taskCenter.confirmDisable': '确认关闭', 'project.taskCenter.enableSuccess': '开启成功',