From 48a703dec596b5d2c1b04b0b4f7ed0f28c1ca898 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期一, 13 十一月 2023 18:00:50 +0800
Subject: [PATCH] 新增社区共建评论模块2

---
 springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java
index e4522dc..b6881a9 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java
@@ -106,8 +106,16 @@
         {
             communityId=getCommunityId()+"";
         }
+
+        String userId=null;
+
+        if(StringUtils.isEmpty(merchantId))
+        {
+            userId=getUserId()+"";
+        }
+
         return communityService.getList(pageNum,pageSize,goodsId,orderNumber,goodsName,
-                condition,userName,communityId,getUserId()+"",orderType,merchantId);
+                condition,userName,communityId,userId,orderType,merchantId);
     }
 
     /**

--
Gitblit v1.7.1