wangmengzhao
2023-12-13 d8228730095cdcaccb40dd2dc290fc44779e340a
wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/service/IDeviceService.java
@@ -47,7 +47,7 @@
     * @return
     * @throws Exception
     */
    public int selectDeviceCount(int id) throws Exception;
    public AjaxResult selectDeviceCount(int id) throws Exception;
    /**
     * 根据登录用户的id查询设备的使用人数
@@ -57,6 +57,14 @@
     * @throws Exception
     */
    public int selectUserDeviceByCount(int id) throws Exception;
    /**
     * 查询所有的设备
     *
     * @return
     * @throws Exception
     */
    public List<Device> selectDeviceAll() throws Exception;
    /**
     * 根据设备编号查询简介设备
@@ -127,7 +135,7 @@
     * @param device 设备
     * @return 设备集合
     */
    public List<DeviceShortOutput> selectDeviceShortList(Device device);
    public List<DeviceShortOutput> selectDeviceShortList(Device device, boolean repairFlag);
    /**
     * 新增设备
@@ -230,4 +238,5 @@
     * @return 结果
     */
    public int updateDeviceUserBySN(List<String> snList, Long userId);
}