shiyj
2019-07-16 6d8a43de07062234a05716fcbb94273709cab21e
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>