fix(测试计划): 报告缺陷明细状态列展示有误

This commit is contained in:
song-cc-rock 2024-09-19 18:33:06 +08:00 committed by Craftsman
parent 1fe09346a9
commit f8fbf31a2c
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
</select>
<select id="list" resultType="io.metersphere.bug.dto.response.BugDTO">
select distinct tprb.bug_id as id, tprb.bug_num as num, tprb.bug_title as title, tprb.bug_status as status, tprb.bug_handle_user as handleUserName,
select distinct tprb.bug_id as id, tprb.bug_num as num, tprb.bug_title as title, tprb.bug_status as status, tprb.bug_status as statusName, tprb.bug_handle_user as handleUserName,
ifnull(tprb.bug_case_count, 0) as relationCaseCount
from test_plan_report_bug tprb
where tprb.test_plan_report_id = #{request.reportId}