From 6a8c87ed9511513fa1baa6feeb978cb771ba5cde Mon Sep 17 00:00:00 2001 From: litianxiang Date: Wed, 17 Dec 2025 15:40:47 +0800 Subject: [PATCH] =?UTF-8?q?edit=20=E4=BA=A7=E5=93=81=E5=9B=BE=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E4=BC=9A=E5=AF=BC=E8=87=B4sort=E4=B8=8D=E5=AF=B9?= =?UTF-8?q?=E8=AF=95=E9=AA=8C5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ai/da/service/impl/UserLikeGroupServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/ai/da/service/impl/UserLikeGroupServiceImpl.java b/src/main/java/com/ai/da/service/impl/UserLikeGroupServiceImpl.java index 511661e2..14cc1574 100644 --- a/src/main/java/com/ai/da/service/impl/UserLikeGroupServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/UserLikeGroupServiceImpl.java @@ -1534,8 +1534,7 @@ public class UserLikeGroupServiceImpl extends ServiceImpl collectionSorts1 = collectionSortMapper.selectList(new LambdaQueryWrapper().eq(CollectionSort::getParentId, collectionSorts.get(0).getParentId()).orderByDesc(CollectionSort::getSort).last("LIMIT 1")); - + List collectionSorts1 = collectionSortMapper.selectList(new LambdaQueryWrapper().eq(CollectionSort::getParentId, collectionSorts.get(0).getParentId()).gt(CollectionSort::getSort, collectionSorts.get(0).getSort())); if (!collectionSorts1.isEmpty()) { collectionSorts1.get(0).setSort(collectionSorts1.get(0).getSort() - 1); collectionSortMapper.updateById(collectionSorts1.get(0));