From b6184e2ddf3db37a94f7efb3b619bbc64642a292 Mon Sep 17 00:00:00 2001
From: chengf <cgf12138@163.com>
Date: 星期二, 27 一月 2026 18:12:48 +0800
Subject: [PATCH] Z四

---
 java110-db/src/main/resources/mapper/fee/PayFeeConfigV1ServiceDaoImplMapper.xml |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/fee/PayFeeConfigV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/fee/PayFeeConfigV1ServiceDaoImplMapper.xml
index fe4bd1c..3958c56 100644
--- a/java110-db/src/main/resources/mapper/fee/PayFeeConfigV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/fee/PayFeeConfigV1ServiceDaoImplMapper.xml
@@ -86,7 +86,7 @@
             and t.end_time= #{endTime}
         </if>
         <if test="communityId !=null and communityId != ''">
-            and t.community_id= #{communityId}
+            and t.community_id in (#{communityId}, '9999')
         </if>
         <if test="deductFrom !=null and deductFrom != ''">
             and t.deduct_from = #{deductFrom}
@@ -111,6 +111,9 @@
         </if>
         <if test="feeTypeCd !=null and feeTypeCd != ''">
             , t.fee_type_cd= #{feeTypeCd}
+        </if>
+        <if test="secondaryFeeTypeCd !=null and secondaryFeeTypeCd != ''">
+            , t.secondary_fee_type_cd= #{secondaryFeeTypeCd}
         </if>
         <if test="computingFormula !=null and computingFormula != ''">
             , t.computing_formula= #{computingFormula}
@@ -175,7 +178,7 @@
             and t.config_id= #{configId}
         </if>
         <if test="communityId !=null and communityId != ''">
-            and t.community_id= #{communityId}
+            and t.community_id in (#{communityId}, '9999')
         </if>
     </update>
 
@@ -240,7 +243,7 @@
             and t.end_time= #{endTime}
         </if>
         <if test="communityId !=null and communityId != ''">
-            and t.community_id= #{communityId}
+            and t.community_id in (#{communityId}, '9999')
         </if>
         <if test="deductFrom !=null and deductFrom != ''">
             and t.deduct_from = #{deductFrom}
@@ -265,7 +268,7 @@
             and t.payer_obj_type= #{payerObjType}
         </if>
         <if test="communityId != null and communityId != ''">
-            and t.community_id= #{communityId}
+            and t.community_id in (#{communityId}, '9999')
         </if>
 
     </select>
@@ -280,7 +283,7 @@
         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}
         <if test="communityId != null and communityId != ''">
-            and t.community_id= #{communityId}
+            and t.community_id in (#{communityId}, '9999')
         </if>
         <if test="payerObjType != null and payerObjType != ''">
             and t.payer_obj_type= #{payerObjType}

--
Gitblit v1.8.0