lyh
2025-03-07 b864148d2a9afd5e1627b761da923cca8f8dfbd2
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
43
44
45
package org.jeecg.modules.dnc.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.dnc.entity.DeviceType;
 
import java.util.List;
 
public interface IDeviceTypeService extends IService<DeviceType> {
 
    /**
     * 新增设备类
     * @param deviceType
     * @return
     */
    Result<?> add(DeviceType deviceType);
    /**
     * 编辑设备类
     * @param deviceType
     * @return
     */
    Result<?> edit(DeviceType deviceType);
    /**
     * 根据id删除设备类
     * @param id
     * @return
     */
    Result<?> delete(String id);
 
    /**
     * 根据设备类信息查询对应设备类
     * @param deviceTypes
     * @return
     */
    Result<?> getByDeviceType(List<DeviceType> deviceTypes);
 
    /**
     * 根据业务id查询设备类列表
     * @param businessId
     * @param type
     * @return
     */
    Result<?> getByBusinessId(String businessId, String type);
 
}