From 58ada741b40cd6ebd590b777c18d0f77548e043b Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 25 七月 2019 14:16:53 +0800
Subject: [PATCH] 注册组件调整

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

diff --git a/java110-db/src/main/resources/mapper/fee/FeeServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/fee/FeeServiceDaoImplMapper.xml
index 8ba9f2b..a3448c4 100644
--- a/java110-db/src/main/resources/mapper/fee/FeeServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/fee/FeeServiceDaoImplMapper.xml
@@ -31,10 +31,10 @@
 <if test="feeTypeCd !=null and feeTypeCd != ''">
    and t.fee_type_cd= #{feeTypeCd}
 </if> 
-<if test="startTime !=null and startTime != ''">
+<if test="startTime !=null ">
    and t.start_time= #{startTime}
 </if> 
-<if test="endTime !=null and endTime != ''">
+<if test="endTime !=null ">
    and t.end_time= #{endTime}
 </if> 
 <if test="communityId !=null and communityId != ''">
@@ -74,10 +74,10 @@
 <if test="feeTypeCd !=null and feeTypeCd != ''">
    and t.fee_type_cd= #{feeTypeCd}
 </if> 
-<if test="startTime !=null and startTime != ''">
+<if test="startTime !=null ">
    and t.start_time= #{startTime}
 </if> 
-<if test="endTime !=null and endTime != ''">
+<if test="endTime !=null ">
    and t.end_time= #{endTime}
 </if> 
 <if test="communityId !=null and communityId != ''">
@@ -113,16 +113,25 @@
 </if> 
 <if test="feeTypeCd !=null and feeTypeCd != ''">
    and t.fee_type_cd= #{feeTypeCd}
-</if> 
-<if test="startTime !=null and startTime != ''">
+</if>
+<if test="feeTypeCds != null ">
+    and t.fee_type_cd in
+    <foreach collection="feeTypeCds" item="item" open="(" close=")" separator=",">
+        #{item}
+    </foreach>
+</if>
+<if test="startTime !=null ">
    and t.start_time= #{startTime}
 </if> 
 <if test="statusCd !=null and statusCd != ''">
    and t.status_cd= #{statusCd}
 </if> 
-<if test="endTime !=null and endTime != ''">
+<if test="endTime !=null ">
    and t.end_time= #{endTime}
-</if> 
+</if>
+<if test="arrearsEndTime != null">
+    and t.end_time &lt; #{arrearsEndTime}
+</if>
 <if test="communityId !=null and communityId != ''">
    and t.community_id= #{communityId}
 </if> 
@@ -162,10 +171,10 @@
 <if test="feeTypeCd !=null and feeTypeCd != ''">
 , t.fee_type_cd= #{feeTypeCd}
 </if> 
-<if test="startTime !=null and startTime != ''">
+<if test="startTime !=null ">
 , t.start_time= #{startTime}
 </if> 
-<if test="endTime !=null and endTime != ''">
+<if test="endTime !=null">
 , t.end_time= #{endTime}
 </if> 
 <if test="communityId !=null and communityId != ''">
@@ -199,16 +208,25 @@
 </if> 
 <if test="feeTypeCd !=null and feeTypeCd != ''">
    and t.fee_type_cd= #{feeTypeCd}
-</if> 
-<if test="startTime !=null and startTime != ''">
+</if>
+ <if test="feeTypeCds != null ">
+     and t.fee_type_cd in
+     <foreach collection="feeTypeCds" item="item" open="(" close=")" separator=",">
+         #{item}
+     </foreach>
+ </if>
+<if test="startTime !=null">
    and t.start_time= #{startTime}
 </if> 
 <if test="statusCd !=null and statusCd != ''">
    and t.status_cd= #{statusCd}
 </if> 
-<if test="endTime !=null and endTime != ''">
+<if test="endTime !=null ">
    and t.end_time= #{endTime}
-</if> 
+</if>
+ <if test="arrearsEndTime != null">
+     and t.end_time &lt; #{arrearsEndTime}
+ </if>
 <if test="communityId !=null and communityId != ''">
    and t.community_id= #{communityId}
 </if> 

--
Gitblit v1.8.0