fix(测试跟踪): 测试计划场景关联列表执行结果Pending筛选有误
--bug=1024961 --user=宋昌昌 【测试跟踪】测试计划-关联接口/场景用例-执行结果下拉选择Pending-搜索失败 https://www.tapd.cn/55049933/s/1357342
This commit is contained in:
parent
ee96610dd4
commit
cbabec7871
|
@ -244,12 +244,20 @@
|
|||
#{value}
|
||||
</foreach>
|
||||
</when>
|
||||
<when test="key == 'last_result'">
|
||||
<when test="key == 'last_result' and !values.contains('PENDING')">
|
||||
and c.last_result in
|
||||
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||
#{value}
|
||||
</foreach>
|
||||
</when>
|
||||
<when test="key == 'last_result' and values.contains('PENDING')">
|
||||
and (c.last_result in
|
||||
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||
#{value}
|
||||
</foreach>
|
||||
or c.last_result is null or c.last_result = ''
|
||||
)
|
||||
</when>
|
||||
<when test="key == 'version_id'">
|
||||
and c.version_id in
|
||||
<foreach collection="values" item="value" separator="," open="(" close=")">
|
||||
|
|
Loading…
Reference in New Issue