TASK:collection sort;
This commit is contained in:
@@ -28,4 +28,5 @@ public class UserLikeVO implements AllCollectionVO{
|
||||
private Long userLikeSortId;
|
||||
private String relationType;
|
||||
private String collectionType;
|
||||
private String resultType;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user