mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-19 09:25:54 +08:00
设备解绑功能完善
This commit is contained in:
@@ -83,10 +83,10 @@ public interface DeviceLogMapper
|
||||
/**
|
||||
* 根据设备Ids批量删除设备日志
|
||||
*
|
||||
* @param deviceIds 需要删除的数据设备Ids
|
||||
* @param deviceId 需要删除的数据设备Id
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDeviceLogByDeviceIds(Long[] deviceIds);
|
||||
public int deleteDeviceLogByDeviceId(Long deviceId);
|
||||
|
||||
|
||||
// List<DeviceLog> selectLogList(Long deviceId,String serialNumber,Long isMonitor,Long logType, Date beginDate, Date endDate);
|
||||
|
||||
@@ -180,7 +180,7 @@ public interface DeviceMapper
|
||||
* @param deviceIds
|
||||
* @return
|
||||
*/
|
||||
public int deleteDeviceGroupByDeviceIds(Long[] deviceIds);
|
||||
public int deleteDeviceGroupByDeviceId(UserIdAndDeviceIdModel userIdAndDeviceIdModel);
|
||||
|
||||
/**
|
||||
* 重置设备状态
|
||||
|
||||
@@ -2,6 +2,7 @@ package com.ruoyi.iot.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.iot.domain.DeviceUser;
|
||||
import com.ruoyi.iot.model.UserIdAndDeviceIdModel;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@@ -49,10 +50,10 @@ public interface DeviceUserMapper
|
||||
/**
|
||||
* 删除设备用户
|
||||
*
|
||||
* @param deviceId 设备用户主键
|
||||
* @param UserIdAndDeviceIdModel 用户ID和设备ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDeviceUserByDeviceId(Long deviceId);
|
||||
public int deleteDeviceUserByDeviceId(UserIdAndDeviceIdModel userIdAndDeviceIdModel);
|
||||
|
||||
/**
|
||||
* 批量删除设备用户
|
||||
|
||||
Reference in New Issue
Block a user