Commit 34bdeb95 by 王祖波

不都为空

parent f251c70b
...@@ -188,8 +188,8 @@ public class GroupChatActivityServiceImpl implements GroupChatActivityService { ...@@ -188,8 +188,8 @@ public class GroupChatActivityServiceImpl implements GroupChatActivityService {
throw new BusinessException("500", "活动已开始,入群方式层级规则不支持编辑"); throw new BusinessException("500", "活动已开始,入群方式层级规则不支持编辑");
} }
List<GroupChatActivityJoinDTO> oldJoinList = activity.getJoinList(); List<GroupChatActivityJoinDTO> oldJoinList = activity.getJoinList();
if (CollectionUtils.isNotEmpty(oldJoinList) && CollectionUtils.isNotEmpty(joinList) && if (!(CollectionUtils.isEmpty(oldJoinList) && CollectionUtils.isEmpty(joinList))
!CollUtil.isEqualList(oldJoinList, EntityUtil.changeEntityListNew(GroupChatActivityJoinDTO.class, joinList))) { && !CollUtil.isEqualList(oldJoinList, EntityUtil.changeEntityListNew(GroupChatActivityJoinDTO.class, joinList))) {
throw new BusinessException("500", "活动已开始,入群规则不支持编辑"); throw new BusinessException("500", "活动已开始,入群规则不支持编辑");
} }
......
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