Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-bi
Project
Project
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
林锐标
slm-bi
Commits
2acccee6
Commit
2acccee6
authored
Apr 28, 2021
by
linruibiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
4b45662d
f9ac13d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
InstrumentPanelTreeServiceImpl.java
...lm/slmbi/service/impl/InstrumentPanelTreeServiceImpl.java
+4
-0
application-test.yml
src/main/resources/application-test.yml
+8
-0
No files found.
src/main/java/com/syc/slm/slmbi/service/impl/InstrumentPanelTreeServiceImpl.java
View file @
2acccee6
...
...
@@ -227,6 +227,10 @@ public class InstrumentPanelTreeServiceImpl extends ServiceImpl<InstrumentPanelT
}
}
});
// 如果当前没有发布的仪表盘,仪表树就需要显示了
if
(
CollectionUtils
.
isEmpty
(
finalPanelIds
)){
return
Lists
.
newArrayList
();
}
List
<
PanelTreeNodeVo
>
groupTreeNodeVos
=
groupService
.
selectGroupByIds
(
finalPanelIds
,
null
);
if
(
CollectionUtils
.
isNotEmpty
(
groupTreeNodeVos
))
{
lists
.
addAll
(
groupTreeNodeVos
);
...
...
src/main/resources/application-test.yml
0 → 100644
View file @
2acccee6
spring
:
datasource
:
username
:
syc_test
password
:
Test123!
url
:
jdbc:mysql://${MYSQL_HOST:124.71.87.179}:${MYSQL_PORT:3306}/${MYSQL_DB:slm_bi}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true
dc_client
:
host
:
http://192.168.0.186:2400/dc
#http://139.9.194.252:2400/dc # http://192.168.0.3:2400/dc # http://apidev.sycdev.com/dc
\ No newline at end of file
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