fix(接口测试): 高级搜索标签数量小于临界值搜索问题
--bug=1047918 --user=宋昌昌 【接口测试】定义-CASE/MOCK-高级搜索-标签 数量小于 0-搜索应该显示暂无数据 https://www.tapd.cn/55049933/s/1596794
This commit is contained in:
parent
d360e3e912
commit
6b029a3076
|
@ -166,8 +166,13 @@
|
||||||
JSON_LENGTH(${column}) > #{condition.value}
|
JSON_LENGTH(${column}) > #{condition.value}
|
||||||
</when>
|
</when>
|
||||||
<when test="${condition}.operator == 'COUNT_LT'">
|
<when test="${condition}.operator == 'COUNT_LT'">
|
||||||
|
<if test="${condition}.value == 0">
|
||||||
|
1=2
|
||||||
|
</if>
|
||||||
|
<if test="${condition}.value != 0">
|
||||||
${column} is null or ${column} = '[]' or
|
${column} is null or ${column} = '[]' or
|
||||||
JSON_LENGTH(${column}) < #{condition.value}
|
JSON_LENGTH(${column}) < #{condition.value}
|
||||||
|
</if>
|
||||||
</when>
|
</when>
|
||||||
<when test="${condition}.operator == 'EMPTY'">
|
<when test="${condition}.operator == 'EMPTY'">
|
||||||
${column} is null or ${column} = '[]'
|
${column} is null or ${column} = '[]'
|
||||||
|
|
Loading…
Reference in New Issue