From eccd2a35e92d71c057222a6420d0e3079263861a Mon Sep 17 00:00:00 2001 From: litianxiang Date: Tue, 16 Sep 2025 11:36:43 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A9.11=E4=BB=A3=E7=A0=81=E8=A6=86?= =?UTF-8?q?=E7=9B=96=E6=81=A2=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ai/da/service/impl/PortfolioServiceImpl.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/ai/da/service/impl/PortfolioServiceImpl.java b/src/main/java/com/ai/da/service/impl/PortfolioServiceImpl.java index 124dd3de..dab6846d 100644 --- a/src/main/java/com/ai/da/service/impl/PortfolioServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/PortfolioServiceImpl.java @@ -538,7 +538,7 @@ public class PortfolioServiceImpl extends ServiceImpl userLikeList = projectSnapshot.getUserLikeList(); - if (userLikeList != null && !userLikeList.isEmpty()) { + if (userLikeList != null && !userLikeList.isEmpty()){ List list = new ArrayList<>(); for (UserLikeSnapshot userLikeSnapshot : userLikeList) { TDesignPythonOutfit designPythonOutfit = userLikeSnapshot.getDesignPythonOutfit(); @@ -569,19 +569,19 @@ public class PortfolioServiceImpl extends ServiceImpl getSelectedQw = new QueryWrapper<>(); - getSelectedQw.lambda().eq(UserLikeGroup::getAccountId, userHolder.getId()); + getSelectedQw.lambda().eq(UserLikeGroup::getAccountId, portfolioDTO.getAccountId()); getSelectedQw.lambda().eq(UserLikeGroup::getOriginalPortfolioId, vo.getId()); List userLikeGroups = userLikeGroupMapper.selectList(getSelectedQw); if (CollectionUtils.isEmpty(userLikeGroups)) {