|
@@ -394,7 +394,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<where>
|
|
<where>
|
|
<if test="actId != null "> and f.act_id = #{actId}</if>
|
|
<if test="actId != null "> and f.act_id = #{actId}</if>
|
|
<if test="fBilltype != null and fBilltype != ''"> and f.f_billtype = #{fBilltype}</if>
|
|
<if test="fBilltype != null and fBilltype != ''"> and f.f_billtype = #{fBilltype}</if>
|
|
- <if test="fBillno != null and fBillno != ''"> and f.f_billno = #{fBillno}</if>
|
|
|
|
<if test="fCorpid != null "> and f.f_corpid = #{fCorpid}</if>
|
|
<if test="fCorpid != null "> and f.f_corpid = #{fCorpid}</if>
|
|
<if test="fFromDate != null "> and f.f_from_date = #{fFromDate}</if>
|
|
<if test="fFromDate != null "> and f.f_from_date = #{fFromDate}</if>
|
|
<if test="fToDate != null "> and f.f_to_date = #{fToDate}</if>
|
|
<if test="fToDate != null "> and f.f_to_date = #{fToDate}</if>
|
|
@@ -403,6 +402,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="postDate != null "> and f.post_date = #{postDate}</if>
|
|
<if test="postDate != null "> and f.post_date = #{postDate}</if>
|
|
<if test="fBillstatus != null "> and f.f_billstatus = #{fBillstatus}</if>
|
|
<if test="fBillstatus != null "> and f.f_billstatus = #{fBillstatus}</if>
|
|
<if test="fRemarks != null and fRemarks != ''"> and f.f_remarks = #{fRemarks}</if>
|
|
<if test="fRemarks != null and fRemarks != ''"> and f.f_remarks = #{fRemarks}</if>
|
|
|
|
+ <if test="firstMoney != null and firstMoney != 0"> and f.f_amtcr >= #{firstMoney}</if>
|
|
|
|
+ <if test="lastMoney != null and lastMoney != 0"> and f.f_amtcr <= #{lastMoney}</if>
|
|
|
|
+ <if test="fBillno != null and fBillno != ''">and f.f_billno like concat('%', #{ fBillno}, '%') </if>
|
|
<if test=' timeInterval != null and timeInterval[0] != null and timeInterval[0]!= ""'>
|
|
<if test=' timeInterval != null and timeInterval[0] != null and timeInterval[0]!= ""'>
|
|
and f.f_accbilldate >= #{ timeInterval[0]}
|
|
and f.f_accbilldate >= #{ timeInterval[0]}
|
|
</if>
|
|
</if>
|