|
|
@@ -283,10 +283,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
group by t.fee_year,t.fee_month
|
|
|
@@ -337,10 +337,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
group by t.fee_year,t.fee_month
|
|
|
@@ -393,10 +393,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
</select>
|
|
|
@@ -444,10 +444,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
GROUP BY t.fee_year,t.fee_month,f.floor_num,bu.unit_id,bu.unit_num
|
|
|
@@ -499,10 +499,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
GROUP BY t.fee_year,t.fee_month,f.floor_num,bu.unit_id,bu.unit_num
|
|
|
@@ -556,10 +556,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
</select>
|
|
|
@@ -615,11 +615,11 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
- and pfc.start_time >= #{startTime}
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
+ and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
- and pfc.start_time <= #{endTime}
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
+ and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
group by t.config_id,t.fee_name,pfc.start_time
|
|
|
) t
|
|
|
@@ -675,11 +675,11 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
- and pfc.start_time >= #{startTime}
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
+ and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
- and pfc.start_time <= #{endTime}
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
+ and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
group by t.config_id,t.fee_name,pfc.start_time
|
|
|
order by t.create_time desc
|
|
|
@@ -737,11 +737,11 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
- and pfc.start_time >= #{startTime}
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
+ and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
- and pfc.start_time <= #{endTime}
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
+ and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
order by t.create_time desc
|
|
|
</select>
|
|
|
@@ -790,10 +790,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
group by t.config_id,t.fee_name,t.fee_create_time,t.obj_id,t.obj_name,t.deadline_time
|
|
|
@@ -845,10 +845,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
group by t.config_id,t.fee_name,t.fee_create_time,t.obj_id,t.obj_name
|
|
|
@@ -900,10 +900,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
</select>
|
|
|
@@ -947,10 +947,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
group by t.fee_name,t.payer_obj_id,t.payer_obj_name
|
|
|
@@ -996,10 +996,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
group by t.fee_name,t.payer_obj_id,t.payer_obj_name
|
|
|
@@ -1045,10 +1045,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
</select>
|
|
|
@@ -1261,10 +1261,10 @@
|
|
|
<if test="primeRate != null and primeRate != ''">
|
|
|
and t.prime_rate = #{primeRate}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
</select>
|
|
|
@@ -1326,10 +1326,10 @@
|
|
|
<if test="primeRate != null and primeRate != ''">
|
|
|
and t.prime_rate = #{primeRate}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
group by fdr.discount_small_type
|
|
|
@@ -1384,11 +1384,11 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
- and t.deadline_time >= #{startTime}
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
+ and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
- and t.deadline_time <= #{endTime}
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
+ and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
) t
|
|
|
</select>
|
|
|
@@ -1441,10 +1441,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime !=''">
|
|
|
and t.deadline_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.deadline_time <= #{endTime}
|
|
|
</if>
|
|
|
order by t.deadline_time
|
|
|
@@ -1470,11 +1470,11 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
- and t.end_time >= #{startTime}
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
+ and t.create_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
- and t.end_time <= #{endTime}
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
+ and t.create_time <= #{endTime}
|
|
|
</if>
|
|
|
) t
|
|
|
</select>
|
|
|
@@ -1495,10 +1495,10 @@
|
|
|
<if test="communityId !=null and communityId != ''">
|
|
|
and t.community_id= #{communityId}
|
|
|
</if>
|
|
|
- <if test="startTime !=null">
|
|
|
+ <if test="startTime !=null and startTime != ''">
|
|
|
and t.end_time >= #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime !=null">
|
|
|
+ <if test="endTime !=null and endTime != ''">
|
|
|
and t.end_time <= #{endTime}
|
|
|
</if>
|
|
|
<if test="page != -1 and page != null ">
|