优化队列的处理逻辑

This commit is contained in:
648540858
2022-08-17 15:38:06 +08:00
parent c041aaccb4
commit 470aa47969
4 changed files with 86 additions and 75 deletions

View File

@@ -105,6 +105,7 @@ public class DeviceServiceImpl implements IDeviceService {
redisCatchStorage.updateDevice(device);
commander.deviceInfoQuery(device);
sync(device);
// TODO 如果设备下的通道级联到了其他平台那么需要发送事件或者notify给上级平台
}else {
deviceMapper.update(device);
redisCatchStorage.updateDevice(device);