Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
operation-control-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王锦盛
operation-control-platform
Commits
1ef25b02
Commit
1ef25b02
authored
Mar 25, 2022
by
郭凡凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务左侧列表
parent
3582a38e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/main/resources/mapper/OcpApiGroupMapper.xml
src/main/resources/mapper/OcpApiGroupMapper.xml
+2
-1
No files found.
src/main/resources/mapper/OcpApiGroupMapper.xml
View file @
1ef25b02
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment