From d403df51ecd998f272b462ec42267cf962c4a019 Mon Sep 17 00:00:00 2001 From: litianxiang Date: Wed, 17 Dec 2025 13:28:04 +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=8C?= 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, 3 insertions(+) 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 15a1e946..b885f389 100644 --- a/src/main/java/com/ai/da/service/impl/UserLikeGroupServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/UserLikeGroupServiceImpl.java @@ -1461,15 +1461,18 @@ public class UserLikeGroupServiceImpl extends ServiceImpl().lambda().eq(CollectionSort::getRelationId, toProductImageResult.getId())); results.add(new MagicToolResultVO(taskId, "Fail")); } else if (fluxResult.equals("Fail") || fluxResult.equals("Pending")) { toProductImageResult.setStatus(fluxResult); toProductImageResultMapper.updateById(toProductImageResult); + collectionSortMapper.delete(new QueryWrapper().lambda().eq(CollectionSort::getRelationId, toProductImageResult.getId())); results.add(new MagicToolResultVO(taskId, fluxResult)); } else { fluxResult="Fail"; toProductImageResult.setStatus(fluxResult); toProductImageResultMapper.updateById(toProductImageResult); + collectionSortMapper.delete(new QueryWrapper().lambda().eq(CollectionSort::getRelationId, toProductImageResult.getId())); results.add(new MagicToolResultVO(taskId, fluxResult)); // results.add(processFluxResult(fluxResult, toProductImageResult, taskId, toProductImageRecord.getPrompt())); // // 扣积分