From 9959a03ccce1026aa072b8f9d8a80d4042a78133 Mon Sep 17 00:00:00 2001 From: litianxiang Date: Wed, 15 Oct 2025 15:58:08 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=85=BC=E5=AE=B9=E4=BA=8C?= =?UTF-8?q?=E5=88=9B=E8=AE=BE=E7=BD=AE=E6=97=A7=E6=95=B0=E6=8D=AE=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=80=A7=E5=88=AB=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../da/service/impl/PortfolioServiceImpl.java | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 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 b3562b9b..45cfecae 100644 --- a/src/main/java/com/ai/da/service/impl/PortfolioServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/PortfolioServiceImpl.java @@ -553,7 +553,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(); @@ -682,6 +682,9 @@ public class PortfolioServiceImpl extends ServiceImpl modelTypeElements = collectionElementListOld.stream() .filter(element -> element.getLevel1Type().equals(CollectionLevel1TypeEnum.MODEL.getRealName())) .collect(Collectors.toList()); - if (CollectionUtil.isNotEmpty(modelTypeElements)){ + if (CollectionUtil.isNotEmpty(modelTypeElements)) { design.setSingleOverall("overall"); - }else { + } else { design.setSingleOverall("single"); }