mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(测试计划): 聚合报告明细查询有误
This commit is contained in:
parent
b6d7dfa9a0
commit
18d44b6f92
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user