修改更新设备状态逻辑

This commit is contained in:
hzj
2025-08-11 16:26:09 +08:00
parent 0383bff7fd
commit 2159525ed9

View File

@@ -70,7 +70,7 @@ public class FrontHeartBeatConsumer extends EnhanceConsumerMessageHandler<FrontH
// redisUtil.saveByKeyWithExpire(RedisKeyPrefix.HEART_BEAT.concat(message.getKey()), MessageStatus.BEING_PROCESSED, 30L); // redisUtil.saveByKeyWithExpire(RedisKeyPrefix.HEART_BEAT.concat(message.getKey()), MessageStatus.BEING_PROCESSED, 30L);
// return false; // return false;
// } // }
return true; return false;
} }
/** /**
* 消费成功缓存到redis72小时避免重复消费 * 消费成功缓存到redis72小时避免重复消费