mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-27 15:37:50 +08:00
主子码修改提交不生效问题
This commit is contained in:
parent
7df31fa5eb
commit
acdef18cba
@ -508,6 +508,7 @@ public class DeviceServiceImpl implements IDeviceService {
|
|||||||
}
|
}
|
||||||
deviceChannelMapper.clearPlay(device.getDeviceId());
|
deviceChannelMapper.clearPlay(device.getDeviceId());
|
||||||
inviteStreamService.clearInviteInfo(device.getDeviceId());
|
inviteStreamService.clearInviteInfo(device.getDeviceId());
|
||||||
|
deviceInStore.setSwitchPrimarySubStream(device.isSwitchPrimarySubStream());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ObjectUtils.isEmpty(device.getName())) {
|
if (!ObjectUtils.isEmpty(device.getName())) {
|
||||||
@ -597,6 +598,7 @@ public class DeviceServiceImpl implements IDeviceService {
|
|||||||
}
|
}
|
||||||
deviceChannelMapper.cleanChannelsByDeviceId(deviceId);
|
deviceChannelMapper.cleanChannelsByDeviceId(deviceId);
|
||||||
deviceMapper.del(deviceId);
|
deviceMapper.del(deviceId);
|
||||||
|
redisCatchStorage.removeDevice(deviceId);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user