fix(测试计划): 修复测试计划取消关联用例,查看执行评论不显示计划名称问题

--bug=1041109 --user=王旭 【测试计划】测试计划取消关联用例,该条用例的执行评论列表无测试计划名称 https://www.tapd.cn/55049933/s/1520426
This commit is contained in:
WangXu10 2024-05-24 15:08:14 +08:00 committed by 刘瑞斌
parent f5a0939f42
commit f8176fb880
1 changed files with 1 additions and 2 deletions

View File

@ -119,8 +119,7 @@
test_plan_case_execute_history tpceh
left join user u on tpceh.create_user = u.id
left join user_extend ux on tpceh.create_user = ux.id
left join test_plan_functional_case tpfc on tpceh.test_plan_case_id = tpfc.id
left join test_plan tp on tpfc.test_plan_id = tp.id
left join test_plan tp on tpceh.test_plan_id = tp.id
where tpceh.case_id = #{caseId}
<if test="planId != null and planId != ''">
and tpceh.test_plan_case_id = #{planId}