fix(用例管理): 修复用例详情关联缺陷列表预览内容错误问题
--bug=1036117 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036117
This commit is contained in:
parent
941ebbb7b9
commit
435e1c193d
|
@ -46,6 +46,9 @@ public class BugProviderDTO implements Serializable {
|
||||||
@Schema(description = "标签")
|
@Schema(description = "标签")
|
||||||
private List<String> tags;
|
private List<String> tags;
|
||||||
|
|
||||||
|
@Schema(description = "内容")
|
||||||
|
private String content;
|
||||||
|
|
||||||
@Schema(description = "创建时间")
|
@Schema(description = "创建时间")
|
||||||
private Long createTime;
|
private Long createTime;
|
||||||
|
|
||||||
|
|
|
@ -110,11 +110,13 @@
|
||||||
b.title as name,
|
b.title as name,
|
||||||
b.handle_user as handleUser,
|
b.handle_user as handleUser,
|
||||||
createUser.name AS createUser,
|
createUser.name AS createUser,
|
||||||
|
bc.description AS content,
|
||||||
b.`status` as status,
|
b.`status` as status,
|
||||||
b.tags as tag,
|
b.tags as tag,
|
||||||
b.create_time createTime
|
b.create_time createTime
|
||||||
FROM
|
FROM
|
||||||
bug b
|
bug b
|
||||||
|
inner join bug_content bc on b.id = bc.bug_id
|
||||||
INNER JOIN user createUser ON b.create_user = createUser.id
|
INNER JOIN user createUser ON b.create_user = createUser.id
|
||||||
WHERE
|
WHERE
|
||||||
b.deleted = #{deleted}
|
b.deleted = #{deleted}
|
||||||
|
|
|
@ -75,11 +75,13 @@
|
||||||
b.title as name,
|
b.title as name,
|
||||||
b.handle_user handleUser,
|
b.handle_user handleUser,
|
||||||
b.`status`,
|
b.`status`,
|
||||||
|
bc.description as content,
|
||||||
brc.test_plan_id testPlanId,
|
brc.test_plan_id testPlanId,
|
||||||
tp.name testPlanName
|
tp.name testPlanName
|
||||||
FROM
|
FROM
|
||||||
bug_relation_case brc
|
bug_relation_case brc
|
||||||
INNER JOIN bug b ON brc.bug_id = b.id
|
INNER JOIN bug b ON brc.bug_id = b.id
|
||||||
|
INNER JOIN bug_content bc ON brc.bug_id = bc.bug_id
|
||||||
left join test_plan tp on brc.test_plan_id = tp.id
|
left join test_plan tp on brc.test_plan_id = tp.id
|
||||||
where b.deleted = false
|
where b.deleted = false
|
||||||
<include refid="queryWhereConditionByProvider"/>
|
<include refid="queryWhereConditionByProvider"/>
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<span class="ml-1 text-[rgb(var(--primary-5))]">{{ t('caseManagement.featureCase.preview') }}</span>
|
<span class="ml-1 text-[rgb(var(--primary-5))]">{{ t('caseManagement.featureCase.preview') }}</span>
|
||||||
<template #content>
|
<template #content>
|
||||||
<div class="max-w-[600px] text-[14px] text-[var(--color-text-1)]">
|
<div class="max-w-[600px] text-[14px] text-[var(--color-text-1)]">
|
||||||
{{ record.name }}
|
{{ record.content }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</a-popover>
|
</a-popover>
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<span class="ml-1 text-[rgb(var(--primary-5))]">{{ t('caseManagement.featureCase.preview') }}</span>
|
<span class="ml-1 text-[rgb(var(--primary-5))]">{{ t('caseManagement.featureCase.preview') }}</span>
|
||||||
<template #content>
|
<template #content>
|
||||||
<div class="max-w-[600px] text-[14px] text-[var(--color-text-1)]">
|
<div class="max-w-[600px] text-[14px] text-[var(--color-text-1)]">
|
||||||
{{ record.name }}
|
{{ record.content }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</a-popover>
|
</a-popover>
|
||||||
|
@ -127,7 +127,7 @@
|
||||||
<span class="ml-1 text-[rgb(var(--primary-5))]">{{ t('caseManagement.featureCase.preview') }}</span>
|
<span class="ml-1 text-[rgb(var(--primary-5))]">{{ t('caseManagement.featureCase.preview') }}</span>
|
||||||
<template #content>
|
<template #content>
|
||||||
<div class="max-w-[600px] text-[14px] text-[var(--color-text-1)]">
|
<div class="max-w-[600px] text-[14px] text-[var(--color-text-1)]">
|
||||||
{{ record.name }}
|
{{ record.content }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</a-popover>
|
</a-popover>
|
||||||
|
|
Loading…
Reference in New Issue