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
39870a2e
Commit
39870a2e
authored
May 07, 2021
by
梁光意
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改发布仪表盘不存在的报错的问题
parent
a3f54d78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
InstrumentPanelConfigServiceImpl.java
.../slmbi/service/impl/InstrumentPanelConfigServiceImpl.java
+3
-0
No files found.
src/main/java/com/syc/slm/slmbi/service/impl/InstrumentPanelConfigServiceImpl.java
View file @
39870a2e
...
@@ -78,6 +78,9 @@ public class InstrumentPanelConfigServiceImpl extends ServiceImpl<InstrumentPane
...
@@ -78,6 +78,9 @@ public class InstrumentPanelConfigServiceImpl extends ServiceImpl<InstrumentPane
InstrumentPanelPermissionDTO
permission
=
config
.
getPermission
();
InstrumentPanelPermissionDTO
permission
=
config
.
getPermission
();
checkAll
(
appId
,
config
,
permission
);
checkAll
(
appId
,
config
,
permission
);
InstrumentPanel
panel
=
panelService
.
getById
(
config
.
getPanelId
());
InstrumentPanel
panel
=
panelService
.
getById
(
config
.
getPanelId
());
if
(
panel
==
null
){
throw
new
SysException
(
"仪表盘不存在,请重新选择"
);
}
fillPanelProp
(
permission
,
panel
,
PublishedStatus
.
PUBLISHED
.
value
);
fillPanelProp
(
permission
,
panel
,
PublishedStatus
.
PUBLISHED
.
value
);
log
.
info
(
"删除仪表板配置详情"
);
log
.
info
(
"删除仪表板配置详情"
);
delConfig
(
config
.
getPanelId
(),
null
);
delConfig
(
config
.
getPanelId
(),
null
);
...
...
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