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
3ee00bfc
Commit
3ee00bfc
authored
Mar 22, 2022
by
郭凡凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
右侧列表
parent
ddb7485f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/main/resources/mapper/OcpGroup.xml
src/main/resources/mapper/OcpGroup.xml
+5
-5
No files found.
src/main/resources/mapper/OcpGroup.xml
View file @
3ee00bfc
...
@@ -39,8 +39,8 @@
...
@@ -39,8 +39,8 @@
otb.obj_id,otb.tenant_code,otb.tenant_name,otg.tenant_group_name,otb.tenant_url,ote.cluster_name,ote.space_name,
otb.obj_id,otb.tenant_code,otb.tenant_name,otg.tenant_group_name,otb.tenant_url,ote.cluster_name,ote.space_name,
otb.tenant_zone,otb.tenant_ctime,otb.tenant_unit
otb.tenant_zone,otb.tenant_ctime,otb.tenant_unit
from ocp_tenant_base otb
from ocp_tenant_base otb
join ocp_tenant_extent ote on otb.tenant_code=ote.tenant_code
join ocp_tenant_group otg on otb.tenant_group_code =otg.tenant_group_code
join ocp_tenant_group otg on otb.tenant_group_code =otg.tenant_group_code
left join ocp_tenant_extent ote on otb.tenant_code=ote.tenant_code
WHERE otg.is_delete=0
WHERE otg.is_delete=0
<if
test=
"apiGroupCodeList !=null "
>
<if
test=
"apiGroupCodeList !=null "
>
and otb.tenant_group_code in
and otb.tenant_group_code in
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</foreach>
</foreach>
</if>
</if>
<if
test=
"tenantUnit !=null and tenantUnit!=''"
>
<if
test=
"tenantUnit !=null and tenantUnit!=''"
>
and otb.tenant_unit = #{tenantUnit}
and otb.tenant_unit = #{tenantUnit}
</if>
</if>
<if
test=
"startCTime !=null "
>
<if
test=
"startCTime !=null "
>
...
@@ -66,9 +66,9 @@
...
@@ -66,9 +66,9 @@
<if
test=
"keyword !=null and keyword != '' "
>
<if
test=
"keyword !=null and keyword != '' "
>
and otb.tenant_name like CONCAT('%', #{keyword}::text,'%')
and otb.tenant_name like CONCAT('%', #{keyword}::text,'%')
</if>
</if>
<!-- <if test="keyword !=null and keyword != '' ">-->
<!-- <if test="keyword !=null and keyword != '' ">-->
<!-- and otb.tenant_code like CONCAT('%', #{keyword}::text,'%')-->
<!-- and otb.tenant_code like CONCAT('%', #{keyword}::text,'%')-->
<!-- </if>-->
<!-- </if>-->
</select>
</select>
<select
id=
"selectRegister"
resultType=
"com.pms.ocp.model.entity.OcpTenantGroup"
>
<select
id=
"selectRegister"
resultType=
"com.pms.ocp.model.entity.OcpTenantGroup"
>
select * from ocp_tenant_group where is_delete = 0
select * from ocp_tenant_group where is_delete = 0
...
...
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