|
@@ -303,7 +303,6 @@ public class TraineeBusiness {
|
|
|
if (RedisUtils.getCacheObject(key) != null) {
|
|
if (RedisUtils.getCacheObject(key) != null) {
|
|
|
LinkedBlockingQueue<String> concurrentLinkedQueue = RedisUtils.getCacheObject(key);
|
|
LinkedBlockingQueue<String> concurrentLinkedQueue = RedisUtils.getCacheObject(key);
|
|
|
String roomCode = concurrentLinkedQueue.poll();
|
|
String roomCode = concurrentLinkedQueue.poll();
|
|
|
- log.info("[安排房间]-[{}]",roomCode);
|
|
|
|
|
if (ObjectUtil.isNotEmpty(roomCode)) {
|
|
if (ObjectUtil.isNotEmpty(roomCode)) {
|
|
|
bo.setRoomCode(roomCode);
|
|
bo.setRoomCode(roomCode);
|
|
|
RedisUtils.setCacheObject(key, concurrentLinkedQueue);
|
|
RedisUtils.setCacheObject(key, concurrentLinkedQueue);
|