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
46900d55
Commit
46900d55
authored
May 15, 2021
by
linruibiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口编写
parent
5b2124f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
InstrumentPanelConfigServiceImpl.java
.../slmbi/service/impl/InstrumentPanelConfigServiceImpl.java
+2
-0
No files found.
src/main/java/com/syc/slm/slmbi/service/impl/InstrumentPanelConfigServiceImpl.java
View file @
46900d55
...
@@ -139,6 +139,7 @@ public class InstrumentPanelConfigServiceImpl extends ServiceImpl<InstrumentPane
...
@@ -139,6 +139,7 @@ public class InstrumentPanelConfigServiceImpl extends ServiceImpl<InstrumentPane
BeanUtils
.
copyProperties
(
panel
,
draft
);
BeanUtils
.
copyProperties
(
panel
,
draft
);
draft
.
setId
(
beforeId
);
draft
.
setId
(
beforeId
);
draft
.
setPanelId
(
panel
.
getId
());
draft
.
setPanelId
(
panel
.
getId
());
draft
.
setAccessPermission
(
panel
.
getAccessPermission
());
draftService
.
updateById
(
draft
);
draftService
.
updateById
(
draft
);
}
else
{
}
else
{
InstrumentPanelDraft
df
=
new
InstrumentPanelDraft
();
InstrumentPanelDraft
df
=
new
InstrumentPanelDraft
();
...
@@ -399,6 +400,7 @@ public class InstrumentPanelConfigServiceImpl extends ServiceImpl<InstrumentPane
...
@@ -399,6 +400,7 @@ public class InstrumentPanelConfigServiceImpl extends ServiceImpl<InstrumentPane
panel
.
setAccessPermission
(
permission
.
getAccessType
());
panel
.
setAccessPermission
(
permission
.
getAccessType
());
panel
.
setDescription
(
permission
.
getDescription
());
panel
.
setDescription
(
permission
.
getDescription
());
panel
.
setPublished
(
publishStatus
);
panel
.
setPublished
(
publishStatus
);
panel
.
setAccessPermission
(
permission
.
getAccessType
());
}
}
private
void
updateTree
(
InstrumentPanelConfigDTO
config
,
InstrumentPanel
panel
)
{
private
void
updateTree
(
InstrumentPanelConfigDTO
config
,
InstrumentPanel
panel
)
{
...
...
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