Commit 878e38c3 by 王祖波

Merge branch 'feature-chat-activity' into 'developer'

空指针修改

See merge request !2270
parents 36817078 1b2b8aa5
......@@ -189,6 +189,9 @@ public class JoinRuleManager {
FunctionWithException<GroupChatActivityHmQDTO, List<GroupChatHmBO>> handler = ruleHandlers.get(ruleEnum);
if (handler != null) {
List<GroupChatHmBO> apply = handler.apply(activityHmQDTO);
if (apply == null) {
apply = new ArrayList<>();
}
logger.info("规则:{},获取活码数:{}", ruleEnum.desc, apply.size());
return apply;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment