Commit c20843be authored by linruibiao's avatar linruibiao

接口编写

parent ca27511f
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);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment