From d01be9f1ec9a393818ea64deca3cbe7fa9372e08 Mon Sep 17 00:00:00 2001
From: xyh <18782104331@139.com>
Date: 星期三, 23 六月 2021 18:21:21 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActNeighborCircleDAO.java |    5 ++++-
 1 files changed, 4 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 f20a336..c7129cd 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
@@ -70,7 +70,7 @@
     @Select("<script> \n"+
             "SELECT\n" +
             "nc.*,\n" +
-            "u.`nick_name` AS releaseName,u.`type` as userType\n" +
+            "u.`nick_name` AS releaseName,u.`type` as userType,u.image_url\n" +
             ",u.name as communityName\n" +
             "FROM\n" +
             "com_act_neighbor_circle nc\n" +
@@ -83,6 +83,9 @@
             "<if test='neighborCircleAdminDTO.startAt != null and neighborCircleAdminDTO.endAt !=null '>" +
             "and nc.create_at between #{neighborCircleAdminDTO.startAt} and #{neighborCircleAdminDTO.endAt}  \n" +
             " </if> " +
+            "<if test='neighborCircleAdminDTO.status != null '>" +
+            "and nc.status = #{neighborCircleAdminDTO.status} " +
+            " </if> " +
             "</where>"+
             "order by " +
             "case when nc.`status`=1 then 0 else 1 end, \n" +

--
Gitblit v1.7.1