From bdb0a91e03f395674e6069e7a2437fdf7f587bb7 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期一, 04 七月 2022 10:50:14 +0800
Subject: [PATCH] 防疫报备更新

---
 springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/ComPbCheckUnitMapper.xml |    2 +-
 springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/ComPbMemberMapper.xml    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/ComPbCheckUnitMapper.xml b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/ComPbCheckUnitMapper.xml
index fec0e96..96e8c2d 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/ComPbCheckUnitMapper.xml
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/ComPbCheckUnitMapper.xml
@@ -33,7 +33,7 @@
             <if test="dto.type != null">
                 and cpcu.`type` = #{dto.type}
             </if>
-            <if test="dto.communityId != null">
+            <if test="dto.communityId != null and dto.communityId!=0">
                 and cpcu.community_id = #{dto.communityId}
             </if>
             <if test="dto.keyWord != null and dto.keyWord != ''">
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/ComPbMemberMapper.xml b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/ComPbMemberMapper.xml
index 01160e4..e1a78b0 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/ComPbMemberMapper.xml
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/ComPbMemberMapper.xml
@@ -86,7 +86,7 @@
             <if test="dto.orgId != null">
                 and m.org_id = #{dto.orgId}
             </if>
-            <if test="dto.communityId != null">
+            <if test="dto.communityId != null and dto.communityId !=0">
                 and m.community_id = ${dto.communityId}
             </if>
             <if test="dto.keyWord != null and dto.keyWord != ''">

--
Gitblit v1.7.1