bugfix: delete collection;
This commit is contained in:
@@ -1369,6 +1369,8 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
|
|||||||
qw.lambda().eq(CollectionSort::getProjectId, projectId);
|
qw.lambda().eq(CollectionSort::getProjectId, projectId);
|
||||||
if (null != parentId) {
|
if (null != parentId) {
|
||||||
qw.lambda().eq(CollectionSort::getParentId, parentId);
|
qw.lambda().eq(CollectionSort::getParentId, parentId);
|
||||||
|
}else {
|
||||||
|
qw.lambda().isNull(CollectionSort::getParentId);
|
||||||
}
|
}
|
||||||
qw.lambda().orderByDesc(CollectionSort::getSort);
|
qw.lambda().orderByDesc(CollectionSort::getSort);
|
||||||
List<CollectionSort> userLikeSorts = collectionSortMapper.selectList(qw);
|
List<CollectionSort> userLikeSorts = collectionSortMapper.selectList(qw);
|
||||||
|
|||||||
Reference in New Issue
Block a user