fix(用例管理): 查询条件报错问题

This commit is contained in:
WangXu10 2024-04-18 14:56:26 +08:00 committed by 刘瑞斌
parent 7cd89a8c06
commit b3a71ef600
1 changed files with 3 additions and 3 deletions

View File

@ -530,9 +530,9 @@
</if> </if>
<if test="request.condition.keyword != null and request.condition.keyword != ''"> <if test="request.condition.keyword != null and request.condition.keyword != ''">
and ( and (
functional_case.name like concat('%', #{request.keyword},'%') functional_case.name like concat('%', #{request.condition.keyword},'%')
or functional_case.num like concat('%', #{request.keyword},'%') or functional_case.num like concat('%', #{request.condition.keyword},'%')
or functional_case.tags like concat('%', #{request.keyword},'%') or functional_case.tags like concat('%', #{request.condition.keyword},'%')
) )
</if> </if>
<include refid="filters"> <include refid="filters">