From 4d5649572075883a2a508f7b23eb96aa7b2d5ef6 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期四, 29 四月 2021 16:58:46 +0800 Subject: [PATCH] 修复bug --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActNeighborCircleDAO.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActNeighborCircleDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActNeighborCircleDAO.java index 45b7f21..e642499 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActNeighborCircleDAO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActNeighborCircleDAO.java @@ -43,7 +43,7 @@ " FROM " + " com_act_neighbor_circle AS canc" + " left join sys_user as su on su.user_id = canc.release_id" + - " where canc.status = 2 and canc.community_id = #{communityId} " + + " where canc.status = 2 and canc.community_id = #{neighborCircleAppDTO.communityId} " + "<if test='neighborCircleAppDTO.type != null and neighborCircleAppDTO.type == 1'>" + " order by (canc.last_views_num + canc.last_comment_num + canc.last_fabulous_num) desc " + " </if> " + -- Gitblit v1.7.1