fix(UI测试): UI报告高级搜索支持所属测试字段
--bug=1011918 --user=陈建星 【通用功能】测试报告-高级搜索:所属测试字段优化 https://www.tapd.cn/55049933/s/1157012
This commit is contained in:
parent
f27f6dee53
commit
37238a4b21
|
@ -105,7 +105,11 @@
|
|||
<property name="object" value="${condition}.name"/>
|
||||
</include>
|
||||
</if>
|
||||
<if test="${condition}.testName != null">
|
||||
<if test="${isUi} and ${condition}.testName != null">
|
||||
and `scenario_id` IN
|
||||
(SELECT id FROM ui_scenario WHERE name like CONCAT('%', #{${condition}.testName.value},'%') )
|
||||
</if>
|
||||
<if test="!${isUi} and ${condition}.testName != null">
|
||||
and `scenario_id` IN
|
||||
(SELECT id FROM api_scenario WHERE name like CONCAT('%', #{${condition}.testName.value},'%') )
|
||||
</if>
|
||||
|
@ -154,6 +158,7 @@
|
|||
<include refid="listCombine">
|
||||
<property name="condition" value="request.combine"/>
|
||||
<property name="name" value="request.name"/>
|
||||
<property name="isUi" value="request.isUi"/>
|
||||
</include>
|
||||
</if>
|
||||
|
||||
|
|
Loading…
Reference in New Issue