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
b29b8cd1
Commit
b29b8cd1
authored
Jun 07, 2021
by
linruibiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口编写
parent
10c05976
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
InstrumentPanelInitServiceImpl.java
...lm/slmbi/service/impl/InstrumentPanelInitServiceImpl.java
+3
-3
No files found.
src/main/java/com/syc/slm/slmbi/service/impl/InstrumentPanelInitServiceImpl.java
View file @
b29b8cd1
...
...
@@ -145,14 +145,14 @@ public class InstrumentPanelInitServiceImpl extends ServiceImpl<InstrumentPanelM
}
InstrumentPanelConfigDTO
config
=
new
InstrumentPanelConfigDTO
();
List
<
InstrumentPanelAssemblyDTO
>
assembly
s
=
Lists
.
newArrayList
();
List
<
InstrumentPanelAssemblyDTO
>
assembly
List
=
Lists
.
newArrayList
();
panelTrees
.
forEach
(
x
->{
InstrumentPanelAssemblyDTO
dto
=
new
InstrumentPanelAssemblyDTO
();
dto
.
setName
(
x
.
getName
());
dto
.
setKey
(
x
.
getAssemblyKey
());
assembly
s
.
add
(
dto
);
assembly
List
.
add
(
dto
);
});
config
.
setAssemblys
(
assembly
s
);
config
.
setAssemblys
(
assembly
List
);
config
.
setConfigDetails
(
panelConfig
);
config
.
setPanelId
(
instrumentPanel
.
getId
());
InstrumentPanelPermissionDTO
permission
=
new
InstrumentPanelPermissionDTO
();
...
...
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