diff --git a/src/main/java/com/ai/da/service/impl/UserLikeGroupServiceImpl.java b/src/main/java/com/ai/da/service/impl/UserLikeGroupServiceImpl.java index 2219b5cc..90d49ce9 100644 --- a/src/main/java/com/ai/da/service/impl/UserLikeGroupServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/UserLikeGroupServiceImpl.java @@ -1419,6 +1419,9 @@ public class UserLikeGroupServiceImpl extends ServiceImpl list = new ArrayList<>(); for (CollectionElement collectionElement : collectionElements) { + if (collectionElement.getId() == Long.valueOf(collection.getMoodTemplateId())) { + continue; + } CollectionElementVO collectionElementVO = CopyUtil.copyObject(collectionElement, CollectionElementVO.class); collectionElementVO.setDesignType(DesignTypeEnum.COLLECTION.getRealName()); String url = collectionElement.getUrl();