mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-25 14:37:53 +08:00
临时提交
This commit is contained in:
parent
a6b436af29
commit
2f9dc36405
@ -186,6 +186,9 @@ public class NotifyRequestForCatalogProcessor extends SIPRequestProcessorParent
|
|||||||
channel.setUpdateTime(DateUtil.getNow());
|
channel.setUpdateTime(DateUtil.getNow());
|
||||||
updateChannelMap.put(catalogChannelEvent.getChannel().getDeviceId(), channel);
|
updateChannelMap.put(catalogChannelEvent.getChannel().getDeviceId(), channel);
|
||||||
} else {
|
} else {
|
||||||
|
catalogChannelEvent.getChannel().setUpdateTime(DateUtil.getNow());
|
||||||
|
catalogChannelEvent.getChannel().setCreateTime(DateUtil.getNow());
|
||||||
|
|
||||||
addChannelMap.put(catalogChannelEvent.getChannel().getDeviceId(), catalogChannelEvent.getChannel());
|
addChannelMap.put(catalogChannelEvent.getChannel().getDeviceId(), catalogChannelEvent.getChannel());
|
||||||
if (userSetting.getDeviceStatusNotify()) {
|
if (userSetting.getDeviceStatusNotify()) {
|
||||||
// 发送redis消息
|
// 发送redis消息
|
||||||
@ -213,8 +216,11 @@ public class NotifyRequestForCatalogProcessor extends SIPRequestProcessorParent
|
|||||||
channel.setId(deviceChannelForUpdate.getId());
|
channel.setId(deviceChannelForUpdate.getId());
|
||||||
channel.setHasAudio(deviceChannelForUpdate.isHasAudio());
|
channel.setHasAudio(deviceChannelForUpdate.isHasAudio());
|
||||||
channel.setUpdateTime(DateUtil.getNow());
|
channel.setUpdateTime(DateUtil.getNow());
|
||||||
|
channel.setUpdateTime(DateUtil.getNow());
|
||||||
updateChannelMap.put(catalogChannelEvent.getChannel().getDeviceId(), channel);
|
updateChannelMap.put(catalogChannelEvent.getChannel().getDeviceId(), channel);
|
||||||
} else {
|
} else {
|
||||||
|
catalogChannelEvent.getChannel().setCreateTime(DateUtil.getNow());
|
||||||
|
catalogChannelEvent.getChannel().setUpdateTime(DateUtil.getNow());
|
||||||
addChannelMap.put(catalogChannelEvent.getChannel().getDeviceId(), catalogChannelEvent.getChannel());
|
addChannelMap.put(catalogChannelEvent.getChannel().getDeviceId(), catalogChannelEvent.getChannel());
|
||||||
if (userSetting.getDeviceStatusNotify()) {
|
if (userSetting.getDeviceStatusNotify()) {
|
||||||
// 发送redis消息
|
// 发送redis消息
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user