fix(用例管理): 用例详情依赖关系/需求,只支持名称搜索
--bug=1039880 --user=王旭 【用例管理】用例详情-需求/依赖关系-都是只支持名称搜索,不应该支持ID搜索 https://www.tapd.cn/55049933/s/1505433
This commit is contained in:
parent
e0b5265e73
commit
a3693c1dd9
|
@ -13,10 +13,7 @@
|
|||
(functional_case_demand.with_parent = 'false')
|
||||
)
|
||||
<if test="keyword != null and keyword != ''">
|
||||
AND (
|
||||
functional_case_demand.demand_id = #{keyword} OR
|
||||
(functional_case_demand.demand_name LIKE CONCAT('%', #{keyword}, '%'))
|
||||
)
|
||||
AND functional_case_demand.demand_name LIKE CONCAT('%', #{keyword}, '%')
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
|
|
@ -52,11 +52,7 @@
|
|||
</choose>
|
||||
</if>
|
||||
<if test="request.keyword != null and request.keyword != ''">
|
||||
and (
|
||||
fc.name like concat('%', #{request.keyword},'%')
|
||||
or fc.num like concat('%', #{request.keyword},'%')
|
||||
or fc.tags like concat('%', #{request.keyword},'%')
|
||||
)
|
||||
and fc.name like concat('%', #{request.keyword},'%')
|
||||
</if>
|
||||
order by
|
||||
<if test="sort != null and sort != ''">
|
||||
|
|
Loading…
Reference in New Issue