zss
2023-08-17 4c521b8f1fcc538f59cc0001dcf6649b0dee4880
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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);
 
    Integer deviceDeleteIdOrFather(Integer id, String deviceFather);
 
    List<Map<String, Object>> getDeviceNameByGroup(String deviceGroup);
}