fix(测试计划): 子计划报告明细搜索有误
--bug=1046990 --user=宋昌昌 【测试计划】报告-报告详情-子计划报告明细-搜索框通过名称搜索-模糊匹配不准确 https://www.tapd.cn/55049933/s/1583855
This commit is contained in:
parent
d3f6dafdb9
commit
d140d0e6b4
|
@ -145,6 +145,7 @@
|
|||
LEFT JOIN test_plan_report_summary tprs on tpr.id = tprs.test_plan_report_id
|
||||
<include refid="queryWhereConditionByParentId"/>
|
||||
</select>
|
||||
|
||||
<select id="getReports" resultType="io.metersphere.api.dto.report.ReportDTO">
|
||||
select
|
||||
distinct tpr.id,
|
||||
|
@ -282,7 +283,7 @@
|
|||
and tpr.parent_id = #{request.reportId} and tpr.integrated = false
|
||||
</if>
|
||||
<if test="request.keyword != null and request.keyword != ''">
|
||||
and tpr.name like concat('%', #{request.keyword},'%')
|
||||
and tpr.test_plan_name like concat('%', #{request.keyword},'%')
|
||||
</if>
|
||||
<include refid="filter"/>
|
||||
<include refid="combine">
|
||||
|
|
Loading…
Reference in New Issue