forked from dyf/fys-Multi-tenant
提交代码2
This commit is contained in:
@ -86,7 +86,7 @@ public class DeviceBizService {
|
||||
List<AppDeviceVo> records = result.getRecords();
|
||||
if (records != null && !records.isEmpty()) {
|
||||
records.forEach(item -> {
|
||||
if (item.getCommunicationMode() != null && item.getCommunicationMode() == 0) {
|
||||
if (item.getCommunicationMode() != null && (item.getCommunicationMode() == 0 || item.getCommunicationMode() == 2)) {
|
||||
|
||||
// 设备在线状态
|
||||
String onlineStatus = RedisUtils.getCacheObject(GLOBAL_REDIS_KEY + DEVICE_KEY_PREFIX + item.getDeviceImei() + DeviceRedisKeyConstants.DEVICE_ONLINE_STATUS_KEY_PREFIX);
|
||||
|
||||
Reference in New Issue
Block a user