From b88a288f4f787b509463678e3cd9ccfa3f37014b Mon Sep 17 00:00:00 2001
From: chengf <cgf12138@163.com>
Date: 星期三, 11 三月 2026 12:01:05 +0800
Subject: [PATCH] 导入测试

---
 java110-db/src/main/resources/mapper/fee/FeeServiceDaoImplMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/fee/FeeServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/fee/FeeServiceDaoImplMapper.xml
index 80e6c8a..76fee67 100755
--- a/java110-db/src/main/resources/mapper/fee/FeeServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/fee/FeeServiceDaoImplMapper.xml
@@ -196,7 +196,7 @@
             and t.end_time &gt; #{nowDate}
         </if>
         <if test="communityId !=null and communityId != ''">
-            and t.community_id= #{communityId}
+            and t.community_id in (#{communityId},'9999')
             and pfc.community_id in (#{communityId},'9999')
         </if>
         <if test="bId !=null and bId != ''">
@@ -245,7 +245,7 @@
             and t.contract_fee = ${contractFee}
         </if>
         <if test="useStart != null">
-            and t.start_time &lt;= #{useStart}
+            and t.end_time &lt;= #{useStart}
         </if>
         <if test="useEnd != null">
             and DATE_ADD(STR_TO_DATE(pfa1.`value`, '%Y-%m-%d 23:59:59.%f'), INTERVAL 2 DAY) >= #{useEnd}
@@ -966,6 +966,6 @@
     </update>
 
     <select id="countValidPayFeeByConfigId" parameterType="Map" resultType="Map">
-        select count(1) count from pay_fee where config_id = #{configId} and status_cd = 0
+        select count(1) count from pay_fee where config_id = #{configId} and state != 2009001
     </select>
 </mapper>

--
Gitblit v1.8.0