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
b5c12fc1
Commit
b5c12fc1
authored
Mar 30, 2021
by
linruibiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整改接口
parent
d9be4074
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
30 additions
and
26 deletions
+30
-26
InstrumentPanelConfigService.java
...m/syc/slm/slmbi/service/InstrumentPanelConfigService.java
+2
-3
InstrumentPanelGroupService.java
...om/syc/slm/slmbi/service/InstrumentPanelGroupService.java
+4
-4
InstrumentPanelPermissionService.java
...c/slm/slmbi/service/InstrumentPanelPermissionService.java
+2
-2
InstrumentPanelService.java
...ava/com/syc/slm/slmbi/service/InstrumentPanelService.java
+5
-5
InstrumentPanelConfigServiceImpl.java
.../slmbi/service/impl/InstrumentPanelConfigServiceImpl.java
+6
-1
InstrumentPanelGroupServiceImpl.java
...m/slmbi/service/impl/InstrumentPanelGroupServiceImpl.java
+4
-4
InstrumentPanelPermissionImpl.java
...slm/slmbi/service/impl/InstrumentPanelPermissionImpl.java
+2
-2
InstrumentPanelServiceImpl.java
...yc/slm/slmbi/service/impl/InstrumentPanelServiceImpl.java
+5
-5
No files found.
src/main/java/com/syc/slm/slmbi/service/InstrumentPanelConfigService.java
View file @
b5c12fc1
...
...
@@ -11,7 +11,7 @@ public interface InstrumentPanelConfigService {
* @param optType
* @return
*/
Boolean
saveInstrumentPanelConfig
(
InstrumentPanelConfigDTO
config
,
Integer
optType
);
String
saveInstrumentPanelConfig
(
InstrumentPanelConfigDTO
config
,
Integer
optType
);
/**
* 根据仪表板id获取对应配置
...
...
@@ -20,6 +20,5 @@ public interface InstrumentPanelConfigService {
*/
InstrumentPanelConfigVo
getInstrumentPanelConfigByInstrumentPanelId
(
@NotNull
String
instrumentPanelId
);
String
publish
(
InstrumentPanelConfigDTO
config
);
}
src/main/java/com/syc/slm/slmbi/service/InstrumentPanelGroupService.java
View file @
b5c12fc1
...
...
@@ -29,21 +29,21 @@ public interface InstrumentPanelGroupService extends IService<InstrumentPanelGro
* @param groupId
* @return
*/
Boolean
delInstrumentPanelGroup
(
@NonNull
String
groupId
);
String
delInstrumentPanelGroup
(
@NonNull
String
groupId
);
/**
* 修改仪表板分组
* @param group
* @return
*/
Boolean
updateInstrumentPanelGroup
(
InstrumentPanelGroupDTO
group
);
String
updateInstrumentPanelGroup
(
InstrumentPanelGroupDTO
group
);
/**
* 保存仪表板分组
* @param group
* @return
*/
Boolean
saveInstrumentPanelGroup
(
InstrumentPanelGroupDTO
group
);
String
saveInstrumentPanelGroup
(
InstrumentPanelGroupDTO
group
);
/**
* 加载仪表板树
...
...
@@ -58,5 +58,5 @@ public interface InstrumentPanelGroupService extends IService<InstrumentPanelGro
* @param name
* @return
*/
List
<
PanelGroupVo
>
findNextNodes
(
String
groupId
,
String
name
);
List
<
PanelGroupVo
>
children
(
String
groupId
,
String
name
);
}
src/main/java/com/syc/slm/slmbi/service/InstrumentPanelPermissionService.java
View file @
b5c12fc1
...
...
@@ -12,7 +12,7 @@ public interface InstrumentPanelPermissionService {
* @param permissions
* @return
*/
Boolean
saveInstrumentPanelPermission
(
List
<
InstrumentPanelPermissionDTO
>
permissions
);
String
saveInstrumentPanelPermission
(
List
<
InstrumentPanelPermissionDTO
>
permissions
);
/**
* 从其他仪表板复制配置
...
...
@@ -27,7 +27,7 @@ public interface InstrumentPanelPermissionService {
* @param otherInstrumentPanelId
* @return
*/
Boolean
saveCopyToOtherInstrumentPanelPermission
(
List
<
InstrumentPanelPermissionDTO
>
permissions
,
String
otherInstrumentPanelId
);
String
saveCopyToOtherInstrumentPanelPermission
(
List
<
InstrumentPanelPermissionDTO
>
permissions
,
String
otherInstrumentPanelId
);
/**
* 根据仪表板id获取仪表板权限
...
...
src/main/java/com/syc/slm/slmbi/service/InstrumentPanelService.java
View file @
b5c12fc1
...
...
@@ -28,7 +28,7 @@ public interface InstrumentPanelService extends IService<InstrumentPanel> {
* @param panel
* @return
*/
Boolean
saveInstrumentPanel
(
InstrumentPanel
panel
);
String
saveInstrumentPanel
(
InstrumentPanel
panel
);
/**
* 批量推送
...
...
@@ -43,14 +43,14 @@ public interface InstrumentPanelService extends IService<InstrumentPanel> {
* @param id
* @return
*/
Boolean
delPushInstrumentPanel
(
String
id
);
String
delPushInstrumentPanel
(
String
id
);
/**
* 另存为
* @param instrumentPanelDTO
* @return
*/
Boolean
saveAsInstrumentPanel
(
InstrumentPanelDTO
instrumentPanelDTO
);
String
saveAsInstrumentPanel
(
InstrumentPanelDTO
instrumentPanelDTO
);
/**
* 是否显示恢复按钮
...
...
@@ -64,12 +64,12 @@ public interface InstrumentPanelService extends IService<InstrumentPanel> {
* @param id
* @return
*/
Boolean
recoveryInstrumentPanel
(
String
id
);
String
recoveryInstrumentPanel
(
String
id
);
/**
* 下线
* @param id
* @return
*/
Boolean
offline
(
String
id
);
String
offline
(
String
id
);
}
src/main/java/com/syc/slm/slmbi/service/impl/InstrumentPanelConfigServiceImpl.java
View file @
b5c12fc1
...
...
@@ -15,7 +15,7 @@ import org.springframework.stereotype.Service;
@Service
public
class
InstrumentPanelConfigServiceImpl
implements
InstrumentPanelConfigService
{
@Override
public
Boolean
saveInstrumentPanelConfig
(
InstrumentPanelConfigDTO
config
,
Integer
optType
)
{
public
String
saveInstrumentPanelConfig
(
InstrumentPanelConfigDTO
config
,
Integer
optType
)
{
return
null
;
}
...
...
@@ -23,4 +23,9 @@ public class InstrumentPanelConfigServiceImpl implements InstrumentPanelConfigSe
public
InstrumentPanelConfigVo
getInstrumentPanelConfigByInstrumentPanelId
(
String
instrumentPanelId
)
{
return
null
;
}
@Override
public
String
publish
(
InstrumentPanelConfigDTO
config
)
{
return
null
;
}
}
src/main/java/com/syc/slm/slmbi/service/impl/InstrumentPanelGroupServiceImpl.java
View file @
b5c12fc1
...
...
@@ -29,17 +29,17 @@ public class InstrumentPanelGroupServiceImpl extends ServiceImpl<InstrumentPanel
}
@Override
public
Boolean
delInstrumentPanelGroup
(
@NonNull
String
groupId
)
{
public
String
delInstrumentPanelGroup
(
@NonNull
String
groupId
)
{
return
null
;
}
@Override
public
Boolean
updateInstrumentPanelGroup
(
InstrumentPanelGroupDTO
group
)
{
public
String
updateInstrumentPanelGroup
(
InstrumentPanelGroupDTO
group
)
{
return
null
;
}
@Override
public
Boolean
saveInstrumentPanelGroup
(
InstrumentPanelGroupDTO
group
)
{
public
String
saveInstrumentPanelGroup
(
InstrumentPanelGroupDTO
group
)
{
return
null
;
}
...
...
@@ -49,7 +49,7 @@ public class InstrumentPanelGroupServiceImpl extends ServiceImpl<InstrumentPanel
}
@Override
public
List
<
PanelGroupVo
>
findNextNodes
(
String
groupId
,
String
name
)
{
public
List
<
PanelGroupVo
>
children
(
String
groupId
,
String
name
)
{
return
null
;
}
}
src/main/java/com/syc/slm/slmbi/service/impl/InstrumentPanelPermissionImpl.java
View file @
b5c12fc1
...
...
@@ -18,7 +18,7 @@ import java.util.List;
@Service
public
class
InstrumentPanelPermissionImpl
implements
InstrumentPanelPermissionService
{
@Override
public
Boolean
saveInstrumentPanelPermission
(
List
<
InstrumentPanelPermissionDTO
>
permissions
){
public
String
saveInstrumentPanelPermission
(
List
<
InstrumentPanelPermissionDTO
>
permissions
){
//判断仪表板的名称是否重复
//删除原本的权限
//插入现有的权限
...
...
@@ -32,7 +32,7 @@ public class InstrumentPanelPermissionImpl implements InstrumentPanelPermissionS
}
@Override
public
Boolean
saveCopyToOtherInstrumentPanelPermission
(
List
<
InstrumentPanelPermissionDTO
>
permissions
,
String
otherInstrumentPanelId
)
{
public
String
saveCopyToOtherInstrumentPanelPermission
(
List
<
InstrumentPanelPermissionDTO
>
permissions
,
String
otherInstrumentPanelId
)
{
return
null
;
}
...
...
src/main/java/com/syc/slm/slmbi/service/impl/InstrumentPanelServiceImpl.java
View file @
b5c12fc1
...
...
@@ -26,7 +26,7 @@ public class InstrumentPanelServiceImpl extends ServiceImpl<InstrumentPanelMappe
}
@Override
public
Boolean
saveInstrumentPanel
(
InstrumentPanel
panel
)
{
public
String
saveInstrumentPanel
(
InstrumentPanel
panel
)
{
return
null
;
}
...
...
@@ -36,12 +36,12 @@ public class InstrumentPanelServiceImpl extends ServiceImpl<InstrumentPanelMappe
}
@Override
public
Boolean
delPushInstrumentPanel
(
String
id
)
{
public
String
delPushInstrumentPanel
(
String
id
)
{
return
null
;
}
@Override
public
Boolean
saveAsInstrumentPanel
(
InstrumentPanelDTO
instrumentPanelDTO
)
{
public
String
saveAsInstrumentPanel
(
InstrumentPanelDTO
instrumentPanelDTO
)
{
return
null
;
}
...
...
@@ -51,12 +51,12 @@ public class InstrumentPanelServiceImpl extends ServiceImpl<InstrumentPanelMappe
}
@Override
public
Boolean
recoveryInstrumentPanel
(
String
id
)
{
public
String
recoveryInstrumentPanel
(
String
id
)
{
return
null
;
}
@Override
public
Boolean
offline
(
String
id
)
{
public
String
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