TASK:collection sort;
This commit is contained in:
@@ -28,4 +28,5 @@ public class UserLikeVO implements AllCollectionVO{
|
|||||||
private Long userLikeSortId;
|
private Long userLikeSortId;
|
||||||
private String relationType;
|
private String relationType;
|
||||||
private String collectionType;
|
private String collectionType;
|
||||||
|
private String resultType;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1552,6 +1552,7 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
|||||||
o.setUserLikeSortId(userLikeSort.getId());
|
o.setUserLikeSortId(userLikeSort.getId());
|
||||||
o.setRelationType(userLikeSort.getRelationType());
|
o.setRelationType(userLikeSort.getRelationType());
|
||||||
o.setCollectionType(CollectionType.DESIGN.getValue());
|
o.setCollectionType(CollectionType.DESIGN.getValue());
|
||||||
|
o.setResultType(CollectionType.DESIGN.getValue());
|
||||||
list.add(o);
|
list.add(o);
|
||||||
} else if (userLikeSort.getRelationType().equals(CollectionType.TO_PRODUCT_IMAGE.getValue())) {
|
} else if (userLikeSort.getRelationType().equals(CollectionType.TO_PRODUCT_IMAGE.getValue())) {
|
||||||
ToProductImageResult toProductImageResult = toProductImageResultMapper.selectById(userLikeSort.getRelationId());
|
ToProductImageResult toProductImageResult = toProductImageResultMapper.selectById(userLikeSort.getRelationId());
|
||||||
@@ -1606,6 +1607,7 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
|
|||||||
poseTransformationVO.setSort(userLikeSort.getSort());
|
poseTransformationVO.setSort(userLikeSort.getSort());
|
||||||
poseTransformationVO.setUserLikeSortId(userLikeSort.getId());
|
poseTransformationVO.setUserLikeSortId(userLikeSort.getId());
|
||||||
poseTransformationVO.setRelationType(userLikeSort.getRelationType());
|
poseTransformationVO.setRelationType(userLikeSort.getRelationType());
|
||||||
|
poseTransformationVO.setResultType(CollectionType.POSE_TRANSFORM.getValue());
|
||||||
list.add(poseTransformationVO);
|
list.add(poseTransformationVO);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user