zhaowenyu
2025-12-01 ffb4f5dce1f4d7275b0945e435068b2a86316fb0
ard-sample/src/main/java/com/ard/sample/manage/service/IDeviceService.java
@@ -106,12 +106,17 @@
    /**
     * 根据部门权限获取机场列表
     * */
    List<DeviceDTO> getDockList();
    List<DeviceDTO> getDockList(String nickname);
    void spliceDeviceTopoPer(DeviceDTO gateway);
//    @DataScope(deptAlias = "d")
    List<DeviceDTO> getDockListByParams(DeviceQueryParam param);
//    List<DeviceDTO> getDockCameraList(String nickname);
//    void spliceDeviceTopoCamera(DeviceDTO gateway);
//    List<DeviceDTO> getDockCameraListByParams(DeviceQueryParam param);
    /**
     * Query the information of the device according to the sn of the device.
@@ -157,9 +162,21 @@
     */
    Boolean updateDevice(DeviceDTO deviceDTO);
    /**
     * 修改狀態
     * @param sn 設備sn
     * @param workType 狀態碼
     * */
    Boolean updateWorkType(String sn, Long workType);
    /**
     * 修改机场及飞行器直播地址
     * @param sn 設備sn
     * @param webrtcUrl 直播地址
     * */
    Boolean updateWebrtcUrl(String sn, String webrtcUrl);
    /**
     * Bind devices to organizations and people.
     * @param device
     */