Commit 1ef25b02 authored by 郭凡凡's avatar 郭凡凡

服务左侧列表

parent 3582a38e
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
oae.space_name,oab.api_url,oae.api_state ,oab.api_unit ,oab.api_ctime from ocp_api_base oab oae.space_name,oab.api_url,oae.api_state ,oab.api_unit ,oab.api_ctime from ocp_api_base oab
LEFT JOIN ocp_api_extent oae LEFT JOIN ocp_api_extent oae
on oab.api_code = oae.api_code on oab.api_code = oae.api_code
where oab.is_delete = 0 <where>
<if test="apiGroupCodeList !=null "> <if test="apiGroupCodeList !=null ">
and oab.api_group_code in and oab.api_group_code in
<foreach item="apiGroupCode" collection="apiGroupCodeList" open="(" separator="," <foreach item="apiGroupCode" collection="apiGroupCodeList" open="(" separator=","
...@@ -104,6 +104,7 @@ ...@@ -104,6 +104,7 @@
<if test="keyword !=null and keyword != '' "> <if test="keyword !=null and keyword != '' ">
and oab.api_name like CONCAT('%', #{keyword}::text,'%') and oab.api_name like CONCAT('%', #{keyword}::text,'%')
</if> </if>
</where>
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment