From f14c50cb0036d3ddd655ce4e34732ba396a836c4 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期二, 30 五月 2023 12:42:03 +0800
Subject: [PATCH] optimize 统计

---
 java110-db/src/main/resources/mapper/community/CommunityMemberV1ServiceDaoImplMapper.xml |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/community/CommunityMemberV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/CommunityMemberV1ServiceDaoImplMapper.xml
index cbaf9d4..abb71ca 100644
--- a/java110-db/src/main/resources/mapper/community/CommunityMemberV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/CommunityMemberV1ServiceDaoImplMapper.xml
@@ -67,9 +67,7 @@
         <if test="endTime !=null and endTime != ''">
             , t.end_time= #{endTime}
         </if>
-        <if test="communityId !=null and communityId != ''">
-            , t.community_id= #{communityId}
-        </if>
+
         <if test="communityMemberId !=null and communityMemberId != ''">
             , t.community_member_id= #{communityMemberId}
         </if>
@@ -80,6 +78,9 @@
         <if test="memberId !=null and memberId != ''">
             and t.member_id= #{memberId}
         </if>
+        <if test="communityId !=null and communityId != ''">
+            and t.community_id= #{communityId}
+        </if>
 
     </update>
 

--
Gitblit v1.8.0