fix(接口定义): 修复回收站高级搜索执行结果失败的缺陷 (#17471)
--bug=1016224 --user=王孝刚 【接口测试】接口定义,回收站,case列表,搜索执行结果是未执行的case,搜索结果是空的 https://www.tapd.cn/55049933/s/1234082 Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
162b1fa482
commit
ec5d0f2c7c
|
@ -114,12 +114,21 @@
|
||||||
<foreach collection="${object}.value" item="v" separator="," open="(" close=")">
|
<foreach collection="${object}.value" item="v" separator="," open="(" close=")">
|
||||||
#{v}
|
#{v}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
<if test="${object}.value.contains(''.toString())">
|
||||||
|
or t3.status is null
|
||||||
|
</if>
|
||||||
|
<if test="${condition}.exec_result != null">
|
||||||
|
)
|
||||||
|
</if>
|
||||||
</when>
|
</when>
|
||||||
<when test='${object}.operator == "not in"'>
|
<when test='${object}.operator == "not in"'>
|
||||||
not in
|
not in
|
||||||
<foreach collection="${object}.value" item="v" separator="," open="(" close=")">
|
<foreach collection="${object}.value" item="v" separator="," open="(" close=")">
|
||||||
#{v}
|
#{v}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
<if test="${condition}.exec_result != null">
|
||||||
|
)
|
||||||
|
</if>
|
||||||
</when>
|
</when>
|
||||||
<when test='${object}.operator == "between"'>
|
<when test='${object}.operator == "between"'>
|
||||||
between #{${object}.value[0]} and #{${object}.value[1]}
|
between #{${object}.value[0]} and #{${object}.value[1]}
|
||||||
|
@ -211,6 +220,13 @@
|
||||||
<property name="object" value="${condition}.status"/>
|
<property name="object" value="${condition}.status"/>
|
||||||
</include>
|
</include>
|
||||||
</if>
|
</if>
|
||||||
|
<if test="${condition}.exec_result != null">
|
||||||
|
and (t3.status
|
||||||
|
<include refid="condition">
|
||||||
|
<property name="object" value="${condition}.exec_result"/>
|
||||||
|
</include>
|
||||||
|
</if>
|
||||||
|
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<sql id="countCombine">
|
<sql id="countCombine">
|
||||||
|
|
|
@ -178,7 +178,7 @@ export const API_CASE_PRIORITY = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export const API_CASE_RESULT = {
|
export const API_CASE_RESULT = {
|
||||||
key: "status",
|
key: "exec_result",
|
||||||
name: 'MsTableSearchSelect',
|
name: 'MsTableSearchSelect',
|
||||||
label: 'test_track.plan_view.execute_result',
|
label: 'test_track.plan_view.execute_result',
|
||||||
operator: {
|
operator: {
|
||||||
|
|
Loading…
Reference in New Issue