...
|
...
|
@@ -183,6 +183,8 @@ public class DrawlineUserQueueServiceImpl implements IDrawlineUserQueueService { |
|
|
logger.warn("addDrawlineUserQueue: fail to addDrawlineUserQueue. uid is {}, activityId is {}, userType is {}", uid, activityId, userType);
|
|
|
throw new ServiceException(900001007, "参加活动排队失败");
|
|
|
}
|
|
|
String redisKeySuffix = uid + ":" + userType + ":" + activityId;
|
|
|
redisValueCache.delete(CacheKeyEnum.DRAWLINE_USERACTIVITY, redisKeySuffix);
|
|
|
//如果首次参加排队活动成功,则进行消息推送
|
|
|
//先判断是否是首次,根据活动ID查询是否只有一条数据
|
|
|
Integer queueCount = drawlineUserQueueDAO.selectHelpUserCount(activityId, uid, null);
|
...
|
...
|
|