fix(测试计划): 关联接口测试用例时,根据id搜索测试用例不生效

--bug=1007388 --user=lyh 【github#6953】测试计划中,关联接口测试用例时,根据id搜索测试用例不生效
https://www.tapd.cn/55049933/s/1059838
This commit is contained in:
shiziyuan9527 2021-10-27 15:53:20 +08:00 committed by shiziyuan9527
parent 3b5f985b19
commit 756d94b037
1 changed files with 3 additions and 1 deletions

View File

@ -379,7 +379,9 @@
</if>
<if test="request.name != null">
and api_definition.name like CONCAT('%', #{request.name},'%')
and (api_definition.name like CONCAT('%', #{request.name},'%')
or api_definition.num like CONCAT('%', #{request.name},'%')
)
</if>
<if test="request.protocol != null">
AND api_definition.protocol = #{request.protocol}