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
a93684c1
Commit
a93684c1
authored
Mar 30, 2021
by
linruibiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整改接口
parent
12e57440
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
0 deletions
+64
-0
InstrumentPanelGroupService.java
...om/syc/slm/slmbi/service/InstrumentPanelGroupService.java
+5
-0
InstrumentPanelService.java
...ava/com/syc/slm/slmbi/service/InstrumentPanelService.java
+43
-0
InstrumentPanelGroupServiceImpl.java
...m/slmbi/service/impl/InstrumentPanelGroupServiceImpl.java
+11
-0
InstrumentPanelServiceImpl.java
...yc/slm/slmbi/service/impl/InstrumentPanelServiceImpl.java
+5
-0
No files found.
src/main/java/com/syc/slm/slmbi/service/InstrumentPanelGroupService.java
View file @
a93684c1
...
...
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
import
com.syc.slm.slmbi.dto.InstrumentPanelGroupDTO
;
import
com.syc.slm.slmbi.entity.InstrumentPanelGroup
;
import
com.syc.slm.slmbi.vo.InstrumentPanelGroupVo
;
import
com.syc.slm.slmbi.vo.PanelGroupVo
;
import
lombok.NonNull
;
import
java.util.List
;
...
...
@@ -24,4 +25,8 @@ public interface InstrumentPanelGroupService extends IService<InstrumentPanelGro
Boolean
updateInstrumentPanelGroup
(
InstrumentPanelGroupDTO
group
);
Boolean
saveInstrumentPanelGroup
(
InstrumentPanelGroupDTO
group
);
List
<
PanelGroupVo
>
loadTrees
(
String
name
);
List
<
PanelGroupVo
>
findNextNodes
(
String
groupId
,
String
name
);
}
src/main/java/com/syc/slm/slmbi/service/InstrumentPanelService.java
View file @
a93684c1
...
...
@@ -16,17 +16,60 @@ import java.util.List;
* @date : 2021-03-25 16:17
**/
public
interface
InstrumentPanelService
extends
IService
<
InstrumentPanel
>
{
/**
* 仪表板列表
* @param where
* @return
*/
IPage
<
InstrumentPanelVo
>
selectInstrumentPanelList
(
InstrumentPanelDTO
where
);
/**
* 保存仪表板
* @param panel
* @return
*/
Boolean
saveInstrumentPanel
(
InstrumentPanel
panel
);
/**
* 批量推送
* @param ids
* @param optType
* @return
*/
Boolean
batchPushInstrumentPanel
(
List
<
String
>
ids
,
Integer
optType
);
/**
* 删除仪表板
* @param id
* @return
*/
Boolean
delPushInstrumentPanel
(
String
id
);
/**
* 另存为
* @param instrumentPanelDTO
* @return
*/
Boolean
saveAsInstrumentPanel
(
InstrumentPanelDTO
instrumentPanelDTO
);
/**
* 是否显示恢复按钮
* @param id
* @return
*/
Boolean
showRecoveryBtn
(
String
id
);
/**
* 恢复按钮操作
* @param id
* @return
*/
Boolean
recoveryInstrumentPanel
(
String
id
);
/**
* 下线
* @param id
* @return
*/
Boolean
offline
(
String
id
);
}
src/main/java/com/syc/slm/slmbi/service/impl/InstrumentPanelGroupServiceImpl.java
View file @
a93684c1
...
...
@@ -7,6 +7,7 @@ import com.syc.slm.slmbi.dto.InstrumentPanelGroupDTO;
import
com.syc.slm.slmbi.entity.InstrumentPanelGroup
;
import
com.syc.slm.slmbi.service.InstrumentPanelGroupService
;
import
com.syc.slm.slmbi.vo.InstrumentPanelGroupVo
;
import
com.syc.slm.slmbi.vo.PanelGroupVo
;
import
lombok.NonNull
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
...
...
@@ -41,4 +42,14 @@ public class InstrumentPanelGroupServiceImpl extends ServiceImpl<InstrumentPanel
public
Boolean
saveInstrumentPanelGroup
(
InstrumentPanelGroupDTO
group
)
{
return
null
;
}
@Override
public
List
<
PanelGroupVo
>
loadTrees
(
String
name
)
{
return
null
;
}
@Override
public
List
<
PanelGroupVo
>
findNextNodes
(
String
groupId
,
String
name
)
{
return
null
;
}
}
src/main/java/com/syc/slm/slmbi/service/impl/InstrumentPanelServiceImpl.java
View file @
a93684c1
...
...
@@ -54,4 +54,9 @@ public class InstrumentPanelServiceImpl extends ServiceImpl<InstrumentPanelMappe
public
Boolean
recoveryInstrumentPanel
(
String
id
)
{
return
null
;
}
@Override
public
Boolean
offline
(
String
id
)
{
return
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