mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(测试计划): 测试集列表搜索根据模块搜索有误
--bug=1046834 --user=宋昌昌 【测试计划】报告-报告详情-用例/接口/场景明细-开启测试点-根据模块名称搜索-无法搜索到对应数据 https://www.tapd.cn/55049933/s/1583303
This commit is contained in:
parent
8cf6d52e05
commit
7d873fc626
@ -57,7 +57,8 @@
|
||||
where tprac.test_plan_report_id = #{request.reportId}
|
||||
<if test="request.keyword != null and request.keyword != ''">
|
||||
and (tprac.api_case_name like concat('%', #{request.keyword}, '%')
|
||||
or tprac.api_case_num like concat('%', #{request.keyword}, '%'))
|
||||
or tprac.api_case_num like concat('%', #{request.keyword}, '%')
|
||||
or tprac.api_case_module like concat('%', #{request.keyword}, '%'))
|
||||
</if>
|
||||
<include refid="filter"/>
|
||||
group by tprac.test_plan_collection_id
|
||||
|
@ -56,7 +56,8 @@
|
||||
where tpras.test_plan_report_id = #{request.reportId}
|
||||
<if test="request.keyword != null and request.keyword != ''">
|
||||
and (tpras.api_scenario_name like concat('%', #{request.keyword}, '%')
|
||||
or tpras.api_scenario_num like concat('%', #{request.keyword}, '%'))
|
||||
or tpras.api_scenario_num like concat('%', #{request.keyword}, '%')
|
||||
or tpras.api_scenario_module like concat('%', #{request.keyword}, '%'))
|
||||
</if>
|
||||
<include refid="filter"/>
|
||||
group by tpras.test_plan_collection_id
|
||||
|
@ -77,7 +77,8 @@
|
||||
where tprfc.test_plan_report_id = #{request.reportId}
|
||||
<if test="request.keyword != null and request.keyword != ''">
|
||||
and (tprfc.function_case_num like concat('%', #{request.keyword}, '%')
|
||||
or tprfc.function_case_name like concat('%', #{request.keyword}, '%'))
|
||||
or tprfc.function_case_name like concat('%', #{request.keyword}, '%')
|
||||
or tprfc.function_case_module like concat('%', #{request.keyword}, '%'))
|
||||
</if>
|
||||
<include refid="filter"/>
|
||||
group by tprfc.test_plan_collection_id
|
||||
|
Loading…
Reference in New Issue
Block a user