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"); }