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