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
c20843be
Commit
c20843be
authored
May 07, 2021
by
linruibiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口编写
parent
ca27511f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
SlmBiApplicationTests.java
src/test/java/com/syc/slm/slmbi/SlmBiApplicationTests.java
+14
-1
No files found.
src/test/java/com/syc/slm/slmbi/SlmBiApplicationTests.java
View file @
c20843be
package
com
.
syc
.
slm
.
slmbi
;
import
com.syc.slm.slmbi.entity.InstrumentPanelTree
;
import
com.syc.slm.slmbi.service.InstrumentPanelTreeService
;
import
org.junit.jupiter.api.Test
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.test.context.SpringBootTest
;
@SpringBootTest
class
SlmBiApplicationTests
{
public
class
SlmBiApplicationTests
{
@Autowired
private
InstrumentPanelTreeService
treeService
;
@Test
void
contextLoads
()
{
// InstrumentPanelTree tree = new InstrumentPanelTree();
// tree.setId(IdWorker.get32UUID());
// tree.setFullName("全部分组");
// tree.setNodeType("1");
// treeService.save(tree);
InstrumentPanelTree
panelTree
=
treeService
.
getById
(
"6333a3b3fd31d7a1449a626f2c15f77b"
);
treeService
.
updateById
(
panelTree
);
}
}
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