From 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 19 七月 2022 21:49:55 +0800
Subject: [PATCH] 优化添加设备 功能
---
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