mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-26 06:57:50 +08:00
在线状态判断,用错变量
Device device = deviceService.getDeviceByDeviceId(deviceId); Assert.notNull(deviceId, "设备不存在"); Device device = deviceService.getDeviceByDeviceId(deviceId); Assert.notNull(device, "设备不存在");
This commit is contained in:
parent
daddb4bfff
commit
7b9c86c2a8
@ -89,7 +89,7 @@ public class PlayController {
|
|||||||
Assert.notNull(channelId, "通道国标编号不可为NULL");
|
Assert.notNull(channelId, "通道国标编号不可为NULL");
|
||||||
// 获取可用的zlm
|
// 获取可用的zlm
|
||||||
Device device = deviceService.getDeviceByDeviceId(deviceId);
|
Device device = deviceService.getDeviceByDeviceId(deviceId);
|
||||||
Assert.notNull(deviceId, "设备不存在");
|
Assert.notNull(device, "设备不存在");
|
||||||
DeviceChannel channel = deviceChannelService.getOne(deviceId, channelId);
|
DeviceChannel channel = deviceChannelService.getOne(deviceId, channelId);
|
||||||
Assert.notNull(channel, "通道不存在");
|
Assert.notNull(channel, "通道不存在");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user