From f0209942e0f7972b55b522575917f199adab49db Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期日, 09 三月 2025 18:01:06 +0800
Subject: [PATCH] 优化完成费用详情页面

---
 java110-db/src/main/resources/mapper/fee/PayFeeConfigV1ServiceDaoImplMapper.xml |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/fee/PayFeeConfigV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/fee/PayFeeConfigV1ServiceDaoImplMapper.xml
index 5af169b..5219caa 100644
--- a/java110-db/src/main/resources/mapper/fee/PayFeeConfigV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/fee/PayFeeConfigV1ServiceDaoImplMapper.xml
@@ -263,7 +263,10 @@
         <if test="payerObjType != null and payerObjType != ''">
             and t.payer_obj_type= #{payerObjType}
         </if>
-        and t.community_id= #{communityId}
+        <if test="communityId != null and communityId != ''">
+            and t.community_id= #{communityId}
+        </if>
+
     </select>
 
     <!-- 鏌ヨ鏀惰垂椤圭洰淇℃伅 add by wuxw 2018-07-03 -->
@@ -275,7 +278,9 @@
         left join pay_fee_attrs pfa1 on t.fee_id = pfa1.fee_id and pfa1.status_cd = '0' and pfa1.spec_cd = '390008'
         left join pay_fee_attrs pfa2 on t.fee_id = pfa2.fee_id and pfa2.status_cd = '0' and pfa2.spec_cd = '390009'
         where t.config_id = #{configId}
-        and t.community_id= #{communityId}
+        <if test="communityId != null and communityId != ''">
+            and t.community_id= #{communityId}
+        </if>
         <if test="payerObjType != null and payerObjType != ''">
             and t.payer_obj_type= #{payerObjType}
         </if>

--
Gitblit v1.8.0