/*
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the dreamlu.net developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: Chill 庄骞 (smallchill@163.com)
|
*/
|
package org.springblade.modules.equipment.service;
|
|
import org.springblade.modules.equipment.entity.Equipment;
|
import org.springblade.modules.equipment.vo.EquipmentVO;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import org.springblade.modules.equipment.vo.EquipmentVOS;
|
import org.springblade.modules.system.vo.DeptVO;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 服务类
|
*
|
* @author BladeX
|
* @since 2020-07-01
|
*/
|
public interface IEquipmentService extends IService<Equipment> {
|
|
List<EquipmentVO> selectEquipmentPage(String deviceName, String addvcd, String dtype, String devicestate);
|
|
/**
|
* 树形结构
|
*
|
* @return
|
*/
|
List<EquipmentVOS> tree();
|
|
void updateOne(Equipment equipment);
|
|
void s(Equipment equipment);
|
|
void updataType(String arr);
|
|
void updataTypeC(String arr);
|
|
/**
|
* 懒加载
|
*
|
* @param parentId
|
* @param param
|
* @return
|
*/
|
List<EquipmentVOS> lazyList(Long parentId, Map<String, Object> param);
|
|
EquipmentVOS selectInfo(Equipment equipment);
|
List<Map<String, Object>> selectInfos(String deviceNumber);
|
|
/**
|
* 设备列表
|
*
|
* @param deviceType
|
* @return
|
*/
|
List<EquipmentVOS> selectList(String deviceType);
|
void updateChannel(String heartbeat,String deviceNumber);
|
}
|