TASK:collection sort;

This commit is contained in:
shahaibo
2025-06-03 10:42:11 +08:00
parent 78341850e1
commit 3bfbd8abc1
2 changed files with 3 additions and 0 deletions

View File

@@ -28,4 +28,5 @@ public class UserLikeVO implements AllCollectionVO{
private Long userLikeSortId;
private String relationType;
private String collectionType;
private String resultType;
}

View File

@@ -1552,6 +1552,7 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
o.setUserLikeSortId(userLikeSort.getId());
o.setRelationType(userLikeSort.getRelationType());
o.setCollectionType(CollectionType.DESIGN.getValue());
o.setResultType(CollectionType.DESIGN.getValue());
list.add(o);
} else if (userLikeSort.getRelationType().equals(CollectionType.TO_PRODUCT_IMAGE.getValue())) {
ToProductImageResult toProductImageResult = toProductImageResultMapper.selectById(userLikeSort.getRelationId());
@@ -1606,6 +1607,7 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
poseTransformationVO.setSort(userLikeSort.getSort());
poseTransformationVO.setUserLikeSortId(userLikeSort.getId());
poseTransformationVO.setRelationType(userLikeSort.getRelationType());
poseTransformationVO.setResultType(CollectionType.POSE_TRANSFORM.getValue());
list.add(poseTransformationVO);
}
}