fix(通用功能): 修复关联页面缺少字段问题
--bug=1039621 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039621
This commit is contained in:
parent
99059250b4
commit
1e87d23c0c
|
@ -49,4 +49,15 @@ public class TestCaseProviderDTO {
|
||||||
@Schema(description = "自定义字段集合")
|
@Schema(description = "自定义字段集合")
|
||||||
private List<BaseCaseCustomFieldDTO> customFields;
|
private List<BaseCaseCustomFieldDTO> customFields;
|
||||||
|
|
||||||
|
@Schema(description = "创建人")
|
||||||
|
private String createUser;
|
||||||
|
|
||||||
|
@Schema(description = "创建人名称")
|
||||||
|
private String createUserName;
|
||||||
|
|
||||||
|
@Schema(description = "创建时间")
|
||||||
|
private Long createTime;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,10 +79,14 @@
|
||||||
api_scenario.tags,
|
api_scenario.tags,
|
||||||
api_scenario.pos,
|
api_scenario.pos,
|
||||||
api_scenario.version_id,
|
api_scenario.version_id,
|
||||||
project_version.name as versionName
|
project_version.name as versionName,
|
||||||
|
api_scenario.create_user,
|
||||||
|
user.name as createUserName,
|
||||||
|
api_scenario.create_time
|
||||||
FROM
|
FROM
|
||||||
api_scenario
|
api_scenario
|
||||||
LEFT JOIN project_version ON api_scenario.version_id = project_version.id
|
LEFT JOIN project_version ON api_scenario.version_id = project_version.id
|
||||||
|
LEFT JOIN user ON api_scenario.create_user = user.id
|
||||||
WHERE api_scenario.deleted =#{deleted}
|
WHERE api_scenario.deleted =#{deleted}
|
||||||
and api_scenario.id not in
|
and api_scenario.id not in
|
||||||
(
|
(
|
||||||
|
|
|
@ -183,11 +183,15 @@
|
||||||
atc.priority,
|
atc.priority,
|
||||||
atc.tags,
|
atc.tags,
|
||||||
atc.version_id,
|
atc.version_id,
|
||||||
v.name as versionName
|
v.name as versionName,
|
||||||
|
atc.create_user,
|
||||||
|
u.name as createUserName,
|
||||||
|
atc.create_time
|
||||||
FROM
|
FROM
|
||||||
api_test_case atc
|
api_test_case atc
|
||||||
LEFT JOIN project_version v ON atc.version_id = v.id
|
LEFT JOIN project_version v ON atc.version_id = v.id
|
||||||
INNER JOIN api_definition a ON atc.api_definition_id = a.id
|
INNER JOIN api_definition a ON atc.api_definition_id = a.id
|
||||||
|
LEFT JOIN user u ON atc.create_user = u.id
|
||||||
WHERE atc.deleted =#{deleted}
|
WHERE atc.deleted =#{deleted}
|
||||||
and atc.id not in
|
and atc.id not in
|
||||||
(
|
(
|
||||||
|
|
|
@ -714,8 +714,12 @@
|
||||||
fc.name,
|
fc.name,
|
||||||
fc.project_id,
|
fc.project_id,
|
||||||
fc.tags,
|
fc.tags,
|
||||||
pv.name as versionName
|
pv.name as versionName,
|
||||||
|
fc.create_user,
|
||||||
|
u.name as createUserName,
|
||||||
|
fc.create_time
|
||||||
from functional_case fc left join project_version pv ON fc.version_id = pv.id
|
from functional_case fc left join project_version pv ON fc.version_id = pv.id
|
||||||
|
left join user u ON fc.create_user = u.id
|
||||||
where fc.deleted = #{deleted}
|
where fc.deleted = #{deleted}
|
||||||
and fc.project_id = #{request.projectId}
|
and fc.project_id = #{request.projectId}
|
||||||
and fc.id not in
|
and fc.id not in
|
||||||
|
|
|
@ -368,6 +368,25 @@
|
||||||
dataIndex: 'tags',
|
dataIndex: 'tags',
|
||||||
isTag: true,
|
isTag: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: 'caseManagement.featureCase.tableColumnCreateUser',
|
||||||
|
slotName: 'createUserName',
|
||||||
|
dataIndex: 'createUserName',
|
||||||
|
showTooltip: true,
|
||||||
|
width: 200,
|
||||||
|
showDrag: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'caseManagement.featureCase.tableColumnCreateTime',
|
||||||
|
slotName: 'createTime',
|
||||||
|
dataIndex: 'createTime',
|
||||||
|
sortable: {
|
||||||
|
sortDirections: ['ascend', 'descend'],
|
||||||
|
sorter: true,
|
||||||
|
},
|
||||||
|
width: 200,
|
||||||
|
showDrag: true,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
watchEffect(() => {
|
watchEffect(() => {
|
||||||
|
|
Loading…
Reference in New Issue