netty-修改请求框架,并且注册客户端信息落地,之后通过调用netty接口来进行后续操作。
This commit is contained in:
@@ -62,4 +62,18 @@ public interface DeviceMapper {
|
||||
List<DeviceDTO> findAllDTO();
|
||||
|
||||
Integer countByStream(@Param("stream") String stream,@Param("id") Integer id);
|
||||
|
||||
/**
|
||||
* 更新设备状态为 0 - 未连接
|
||||
*/
|
||||
void offline(@Param("venueId") Integer venueId,@Param("deviceName") String deviceName);
|
||||
|
||||
/**
|
||||
* 更新设备状态为 2 - 连接成功
|
||||
*/
|
||||
void online(@Param("venueId") Integer venueId,@Param("deviceName") String deviceName);
|
||||
|
||||
|
||||
Integer checkDevice(@Param("deviceName") String deviceName,@Param("venueId") Integer venueId);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user