From 8452d2c4861812bd1ad1d78e68aa7715d6c3a340 Mon Sep 17 00:00:00 2001 From: MeterSphere Bot <78466014+metersphere-bot@users.noreply.github.com> Date: Mon, 26 Sep 2022 15:58:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=A8=A1=E7=89=88=E4=B8=8D=E7=94=9F=E6=95=88?= =?UTF-8?q?=E7=9A=84=E7=BC=BA=E9=99=B7=20(#18252)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1017287 --user=王孝刚 【系统设置】工作空间-项目管理-编辑修改项目的接口模版不生效 https://www.tapd.cn/55049933/s/1251989 Co-authored-by: wxg0103 <727495428@qq.com> --- .../base/mapper/ext/ExtProjectMapper.xml | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.xml index 8cdcc6ccf3..497e44f91b 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtProjectMapper.xml @@ -40,20 +40,21 @@ p.issue_template_id, p.case_template_id, p.create_time, - w.id AS workspaceId, - w.name AS workspaceName, - p.tapd_id, - p.jira_key, - p.zentao_id, - p.azure_devops_id, - p.azure_filter_id, - user.name AS createUserName, - p.platform, - p.third_part_template, - p.issue_config + w.id AS workspaceId, + w.name AS workspaceName, + p.tapd_id, + p.jira_key, + p.zentao_id, + p.azure_devops_id, + p.azure_filter_id, + user.name AS createUserName, + p.platform, + p.third_part_template, + p.issue_config, + p.api_template_id FROM project p - JOIN workspace w ON p.workspace_id = w.id - LEFT JOIN user ON user.id = p.create_user + JOIN workspace w ON p.workspace_id = w.id + LEFT JOIN user ON user.id = p.create_user