fix(测试计划): 聚合报告明细查询有误

This commit is contained in:
song-cc-rock 2024-06-17 16:33:21 +08:00 committed by Craftsman
parent b6d7dfa9a0
commit 18d44b6f92

View File

@ -110,7 +110,7 @@
from test_plan_report tpr
INNER JOIN test_plan tp on tpr.test_plan_id = tp.id
INNER JOIN test_plan_report_summary tprs on tpr.id = tprs.id
INNER JOIN test_plan_report_summary tprs on tpr.id = tprs.test_plan_report_id
INNER JOIN test_plan_config tpc on tp.id = tpc.test_plan_id
<include refid="queryWhereConditionByParentId"/>
@ -229,7 +229,7 @@
<sql id="queryWhereConditionByParentId">
<where>
<if test="request.reportId != null and request.reportId != ''">
and tpr.parent_id = #{request.reportId}
and tpr.parent_id = #{request.reportId} and tpr.integrated = false
</if>
<include refid="filter"/>
<include refid="combine">