Commit 1b2b8aa5 by 王祖波

空指针修改

parent 6f8d4f95
......@@ -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