From 03e7f875fb31d592af1066a63cad2e185c79b5ce Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期二, 08 六月 2021 17:12:54 +0800
Subject: [PATCH] 修改随手拍、微心愿、一起议昵称显示问题

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java
index afae443..6a49d32 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java
@@ -295,7 +295,7 @@
         IPage<ComActEasyPhotoCommentVO> iPage = comActEasyPhotoCommentDAO.pageComActEasyPhotoComment(page, pageComActEasyPhotoCommentDTO);
         if(!iPage.getRecords().isEmpty()){
             for (ComActEasyPhotoCommentVO commentVO:iPage.getRecords()) {
-                if(StringUtils.isNotEmpty(commentVO.getName())){
+                if(StringUtils.isEmpty(commentVO.getName())){
                     commentVO.setName(commentVO.getNickName());
                 }
             }

--
Gitblit v1.7.1