Commit 90436a44 authored by linruibiao's avatar linruibiao

整改接口

parent a93684c1
......@@ -5,5 +5,10 @@ import com.syc.slm.slmbi.vo.DeptVo;
import java.util.List;
public interface DeptService {
/**
* 获取部门列表
* @param deptName
* @return
*/
List<DeptVo> selectDeptList(String deptName);
}
......@@ -5,8 +5,19 @@ import com.syc.slm.slmbi.dto.InstrumentPanelConfigDTO;
import com.syc.slm.slmbi.vo.InstrumentPanelConfigVo;
public interface InstrumentPanelConfigService {
/**
* 保存仪表板配置
* @param config
* @param optType
* @return
*/
Boolean saveInstrumentPanelConfig(InstrumentPanelConfigDTO config,Integer optType);
/**
* 根据仪表板id获取对应配置
* @param instrumentPanelId
* @return
*/
InstrumentPanelConfigVo getInstrumentPanelConfigByInstrumentPanelId(@NotNull String instrumentPanelId);
......
......@@ -18,15 +18,45 @@ import java.util.List;
**/
public interface InstrumentPanelGroupService extends IService<InstrumentPanelGroup> {
/**
* 查询仪表板分组
* @return
*/
List<InstrumentPanelGroupVo> selectInstrumentPanelGroupList();
/**
* 删除仪表板分组
* @param groupId
* @return
*/
Boolean delInstrumentPanelGroup(@NonNull String groupId);
/**
* 修改仪表板分组
* @param group
* @return
*/
Boolean updateInstrumentPanelGroup(InstrumentPanelGroupDTO group);
/**
* 保存仪表板分组
* @param group
* @return
*/
Boolean saveInstrumentPanelGroup(InstrumentPanelGroupDTO group);
/**
* 加载仪表板树
* @param name
* @return
*/
List<PanelGroupVo> loadTrees(String name);
/**
* 查询下一节点分组
* @param groupId
* @param name
* @return
*/
List<PanelGroupVo> findNextNodes(String groupId, String name);
}
......@@ -7,11 +7,32 @@ import lombok.NonNull;
import java.util.List;
public interface InstrumentPanelPermissionService {
/**
* 保存仪表板权限
* @param permissions
* @return
*/
Boolean saveInstrumentPanelPermission(List<InstrumentPanelPermissionDTO> permissions);
/**
* 从其他仪表板复制配置
* @param instrumentPanelId
* @return
*/
List<InstrumentPanelPermissionVo> saveCopyOtherInstrumentPanelPermission(@NonNull String instrumentPanelId);
/**
* 将仪表板权限复制给其他仪表板
* @param permissions
* @param otherInstrumentPanelId
* @return
*/
Boolean saveCopyToOtherInstrumentPanelPermission(List<InstrumentPanelPermissionDTO> permissions, String otherInstrumentPanelId);
/**
* 根据仪表板id获取仪表板权限
* @param instrumentPanelId
* @return
*/
List<InstrumentPanelPermissionVo> selectInstrumentPanelPermissionById(@NonNull String instrumentPanelId);
}
......@@ -11,5 +11,10 @@ import java.util.List;
* @date : 2021-03-25 16:17
**/
public interface PositionService {
/**
* 获取岗位
* @param name
* @return
*/
List<PositionVo> selectPositionList(String name);
}
......@@ -11,5 +11,10 @@ import java.util.List;
* @date : 2021-03-25 16:17
**/
public interface UserService {
/**
* 获取用户
* @param userName
* @return
*/
List<UserVo> selectUserList(String userName);
}
......@@ -16,10 +16,23 @@ import java.util.List;
* @date : 2021-03-25 16:17
**/
public interface VariableService {
/**
* 获取变量列表
* @param variableDTO
* @return
*/
IPage<VariableVo> getVariableList(VariableDTO variableDTO);
/**
* 获取变量来源
* @return
*/
List<VariableSourceVo> getVariableSourceList();
/**
* 获取变量所属设备
* @return
*/
List<VariableDeviceVo> getVariableDeviceList();
}
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