cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
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
package cn.ksource.web.service.device;
 
import java.util.List;
 
public interface DeviceService {
 
    /**
     * 所有工单提交时,添加的关联设备
     * @param flowId 流程编号
     * @param orderId 关联设备id数组
     */
    boolean saveLinkDevices(String flowId, String[] deviceId);
 
    /**
     * 通过流程编号,查询所有的关联的设备
     * @param flowId 流程编号
     * @return
     */
    List queryLinkDevices(String flowId);
 
    /**
     * 删除关联设备
     * @param id 关联ID
      * @return
     */
    boolean deleteLinkDevice(String id);
 
}