|
|
@@ -299,8 +299,7 @@ public class TraineeBusiness {
|
|
|
*/
|
|
|
private void assignRoomToTrainee(YcTraineeBo bo) {
|
|
|
Long teamId = bo.getTeamId();
|
|
|
- String key = "192:" + CacheNames.CLASS_ROOM + "_" + teamId;
|
|
|
- log.info("[团队Id]-[{}],[redisKey]-{}",teamId,key);
|
|
|
+ String key = CacheNames.CLASS_ROOM + "_" + teamId;
|
|
|
if (RedisUtils.getCacheObject(key) != null) {
|
|
|
LinkedBlockingQueue<String> concurrentLinkedQueue = RedisUtils.getCacheObject(key);
|
|
|
String roomCode = concurrentLinkedQueue.poll();
|