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
a96b4ef9
Commit
a96b4ef9
authored
Mar 16, 2022
by
zhaochengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赵呈明 --应用服务树分类
parent
368af6ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/main/java/com/pms/ocp/service/impl/TenantServiceImpl.java
...main/java/com/pms/ocp/service/impl/TenantServiceImpl.java
+6
-6
No files found.
src/main/java/com/pms/ocp/service/impl/TenantServiceImpl.java
View file @
a96b4ef9
...
@@ -173,13 +173,13 @@ public class TenantServiceImpl extends ServiceImpl<TenantMapper, OcpTenantGroup>
...
@@ -173,13 +173,13 @@ public class TenantServiceImpl extends ServiceImpl<TenantMapper, OcpTenantGroup>
Page
<
OcpTenantGroup
>
page
=
new
Page
<>(
currentPage
,
pageSize
);
Page
<
OcpTenantGroup
>
page
=
new
Page
<>(
currentPage
,
pageSize
);
if
(
StringUtils
.
isBlank
(
keyword
))
{
if
(
StringUtils
.
isBlank
(
keyword
))
{
if
(!(
""
.
equals
(
tenantGroupCompanyCode
))
&&
StringUtils
.
isBlank
(
tenantGroupCode
))
{
if
(!(
""
.
equals
(
tenantGroupCompanyCode
))
&&
StringUtils
.
isBlank
(
tenantGroupCode
))
{
//
List<OcpTenantGroup> ocpTenantGroupList = tenantMapper.selectTenantGroup(tenantGroupCompanyCode);
List
<
OcpTenantGroup
>
ocpTenantGroupList
=
tenantMapper
.
selectTenantGroup
(
tenantGroupCompanyCode
);
qw
.
eq
(
OcpTenantGroup:
:
getTenantGroupCompanyCode
,
tenantGroupCompanyCode
);
qw
.
eq
(
OcpTenantGroup:
:
getTenantGroupCompanyCode
,
tenantGroupCompanyCode
);
//
page.setRecords(ocpTenantGroupList);
page
.
setRecords
(
ocpTenantGroupList
);
tenantMapper
.
selectPage
(
page
,
qw
);
tenantMapper
.
selectPage
(
page
,
qw
);
}
else
if
(!(
""
.
equals
(
tenantGroupCompanyCode
))
&&
!(
""
.
equals
(
tenantGroupCode
)))
{
}
else
if
(!(
""
.
equals
(
tenantGroupCompanyCode
))
&&
!(
""
.
equals
(
tenantGroupCode
)))
{
LambdaQueryWrapper
<
OcpTenantGroup
>
eq
=
qw
.
or
(
wq
->
wq
.
eq
(
OcpTenantGroup:
:
getTenantGroupCompanyCode
,
tenantGroupCompanyCode
)).
eq
(
OcpTenantGroup:
:
getTenantGroupPcode
,
tenantGroupCode
);
LambdaQueryWrapper
<
OcpTenantGroup
>
eq
=
qw
.
or
(
wq
->
wq
.
eq
(
OcpTenantGroup:
:
getTenantGroupCompanyCode
,
tenantGroupCompanyCode
)).
eq
(
OcpTenantGroup:
:
getTenantGroupPcode
,
tenantGroupCode
);
tenantMapper
.
selectPage
(
page
,
eq
);
tenantMapper
.
selectPage
(
page
,
eq
);
}
}
...
...
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