|
|
@@ -234,6 +234,9 @@
|
|
|
<if test="deductFrom !=null and deductFrom != ''">
|
|
|
and pfc.deduct_from = #{deductFrom}
|
|
|
</if>
|
|
|
+ <if test="curYear !=null and curYear != ''">
|
|
|
+ and DATE_FORMAT(t.end_time,'%Y') = #{curYear}
|
|
|
+ </if>
|
|
|
order by t.payer_obj_id,pfc.fee_name,t.end_time desc
|
|
|
<if test="page != -1 and page != null ">
|
|
|
limit #{page}, #{row}
|
|
|
@@ -376,6 +379,9 @@
|
|
|
<if test="deductFrom !=null and deductFrom != ''">
|
|
|
and pfc.deduct_from = #{deductFrom}
|
|
|
</if>
|
|
|
+ <if test="curYear !=null and curYear != ''">
|
|
|
+ and DATE_FORMAT(t.end_time,'%Y') = #{curYear}
|
|
|
+ </if>
|
|
|
|
|
|
</select>
|
|
|
|