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); }