Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-data-cloud
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-data-cloud
Commits
007522ca
Commit
007522ca
authored
Jul 31, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
指标说明
parent
22e3f0e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
IndexServiceImpl.java
...ain/java/com/gic/cloud/service/impl/IndexServiceImpl.java
+4
-0
No files found.
gic-data-cloud-service/src/main/java/com/gic/cloud/service/impl/IndexServiceImpl.java
View file @
007522ca
...
...
@@ -10,6 +10,7 @@ import com.gic.cloud.service.IndexService;
import
com.gic.commons.util.EntityUtil
;
import
com.github.pagehelper.Page
;
import
com.github.pagehelper.PageHelper
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
...
...
@@ -103,6 +104,9 @@ public class IndexServiceImpl implements IndexService {
IndexQO
indexQO
=
new
IndexQO
();
PageHelper
.
startPage
(
1
,
1
);
List
<
Integer
>
indexIdList
=
indexModuleRelService
.
listBusinessIdByModuleIds
(
Collections
.
singletonList
(
moduleId
));
if
(
CollectionUtils
.
isEmpty
(
indexIdList
))
{
return
null
;
}
indexQO
.
setIndexIdList
(
indexIdList
);
return
tabIndexMapper
.
listIndex
(
indexQO
).
get
(
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