Commit a93684c1 authored by linruibiao's avatar linruibiao

整改接口

parent 12e57440
......@@ -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);
}
......@@ -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);
}
......@@ -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;
}
}
......@@ -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;
}
}
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