TASK:collection sort;
This commit is contained in:
@@ -1332,6 +1332,7 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
|
||||
qw.lambda().orderByDesc(CollectionSort::getSort);
|
||||
List<CollectionSort> userLikeSorts = collectionSortMapper.selectList(qw);
|
||||
CollectionSort userLikeSort = getUserLikeSortByUserLikeId(relationId, relationType, projectId);
|
||||
if (Objects.nonNull(userLikeSort)) {
|
||||
Long userLikeSortId = userLikeSort.getId();
|
||||
for (CollectionSort likeSort : userLikeSorts) {
|
||||
if (Objects.equals(likeSort.getId(), userLikeSortId)) {
|
||||
@@ -1343,6 +1344,7 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public CollectionSort getUserLikeSortByUserLikeId(Long userLikeId, String relationType, Long projectId) {
|
||||
|
||||
Reference in New Issue
Block a user