From 781c2e20a4bb844dae3f4eafbf5f0e494b942ea8 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 25 五月 2023 18:07:08 +0800
Subject: [PATCH] optimize

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

diff --git a/java110-db/src/main/resources/mapper/user/MenuGroupCommunityV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/user/MenuGroupCommunityV1ServiceDaoImplMapper.xml
index d72eb1e..36020b4 100644
--- a/java110-db/src/main/resources/mapper/user/MenuGroupCommunityV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/user/MenuGroupCommunityV1ServiceDaoImplMapper.xml
@@ -71,13 +71,14 @@
         <if test="communityName !=null and communityName != ''">
             , t.community_name= #{communityName}
         </if>
-        <if test="communityId !=null and communityId != ''">
-            , t.community_id= #{communityId}
-        </if>
+
         where 1=1
         <if test="gcId !=null and gcId != ''">
             and t.gc_id= #{gcId}
         </if>
+        <if test="communityId !=null and communityId != ''">
+            and t.community_id= #{communityId}
+        </if>
 
     </update>
 

--
Gitblit v1.8.0