lyh
3 天以前 3ce27b7faf8850d101a1511a685250fe562dca18
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
package com.lxzn.nc.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.lxzn.framework.domain.nc.DeviceType;
 
import java.util.List;
 
public interface IDeviceTypeService extends IService<DeviceType> {
 
    /**
     * 新增设备类
     * @param deviceType
     * @return
     */
    boolean add(DeviceType deviceType);
    /**
     * 编辑设备类
     * @param deviceType
     * @return
     */
    boolean edit(DeviceType deviceType);
    /**
     * 根据id删除设备类
     * @param id
     * @return
     */
    boolean delete(String id);
 
    /**
     * 根据业务id查询设备类列表
     * @param businessId
     * @param type
     * @return
     */
    List<DeviceType> getByBusinessId(String businessId, String type);
 
}