fix(测试计划): 修复测试计划报告保留时间未生效问题
--bug=1044722 --user=宋昌昌 【测试计划】github#32364测试计划报告保留时间范围未生效 https://www.tapd.cn/55049933/s/1557876
This commit is contained in:
parent
5930968a19
commit
81d49f281b
|
@ -45,11 +45,10 @@
|
||||||
</select>
|
</select>
|
||||||
<select id="selectReportIdByProjectIdAndTime" resultType="java.lang.String">
|
<select id="selectReportIdByProjectIdAndTime" resultType="java.lang.String">
|
||||||
select report.id
|
select report.id
|
||||||
from test_plan_report report
|
from test_plan_report report left join test_plan_report_summary summary
|
||||||
inner join test_plan_report_summary summary
|
on report.id = summary.test_plan_report_id
|
||||||
on report.id = summary.test_plan_report_id = report.id
|
|
||||||
where report.project_id = #{projectId}
|
where report.project_id = #{projectId}
|
||||||
and report.start_time = #{time}
|
and report.start_time <= #{time}
|
||||||
</select>
|
</select>
|
||||||
<select id="selectReportIdTestPlanIds" resultType="java.lang.String">
|
<select id="selectReportIdTestPlanIds" resultType="java.lang.String">
|
||||||
select report.id
|
select report.id
|
||||||
|
|
Loading…
Reference in New Issue