|
@ -282,7 +282,8 @@ public class DeviceQrtzServiceImpl implements IDeviceQrtzService { |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
RedisOpsUtils.setWithExpire(device.getDeviceSn(), device, 180); |
|
|
RedisOpsUtils.setWithExpire(device.getDeviceSn(), device, 180); |
|
|
|
|
|
List<DeviceQrtzEntity> qrtzEntityList = deviceQrtzMapper.selectList(new LambdaQueryWrapper<DeviceQrtzEntity>().eq(DeviceQrtzEntity::getDeviceSn, device.getDeviceSn()).eq(DeviceQrtzEntity::getStatus, DeviceQrtzConstants.QRTZ_STATUS_1)); |
|
|
|
|
|
if(!qrtzEntityList.isEmpty()){ |
|
|
// 获取当前日期
|
|
|
// 获取当前日期
|
|
|
LocalDateTime currentDate = LocalDateTime.now(); |
|
|
LocalDateTime currentDate = LocalDateTime.now(); |
|
|
// 定义日期格式
|
|
|
// 定义日期格式
|
|
@ -340,6 +341,8 @@ public class DeviceQrtzServiceImpl implements IDeviceQrtzService { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|