package com.yuanchu.mom.service;
|
|
import com.yuanchu.mom.pojo.Device;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import org.springframework.transaction.annotation.Transactional;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* <p>
|
* 服务类
|
* </p>
|
*
|
* @author 江苏鵷雏网络科技有限公司
|
* @since 2023-07-31
|
*/
|
public interface DeviceService extends IService<Device> {
|
|
Map<String, Object> selectTechnology(String deviceGroup);
|
|
List<Device> selectDevice();
|
|
/**
|
* 根据设备id查询设备名称
|
* @param id
|
*/
|
String getDeviceNameById(Integer id);
|
|
@Transactional(rollbackFor = Exception.class)
|
Boolean addDevice(Device device);
|
|
List<Map<String, Object>> deviceTwoTree(Integer type, String search_class);
|
|
List<Map<String, Object>> DevicePageList(String codeNameModel, Integer type, Integer deviceStatue, Integer deviceId, String fatherName);
|
|
Integer deviceDelete(Integer deviceId);
|
|
List<Map<String, Object>> getDeviceNameByGroup(String deviceGroup);
|
|
Integer deviceDeleteIdOrFather(Integer id, Integer type, String deviceFather);
|
|
List<Map<String, Object>> selectDeviceIdAndName();
|
}
|