|
|
|
@ -41,7 +41,8 @@ |
|
|
|
|
<result column="bdk_status" property="bdkStatus"/> |
|
|
|
|
<result column="bdk_current_period" property="bdkCurrentPeriod"/> |
|
|
|
|
<result column="bdk_date" property="bdkDate"/> |
|
|
|
|
<result column="in_account_status" property="inAccountStatus"/> |
|
|
|
|
<result column="bzdh" property="bzdh"/> |
|
|
|
|
<result column="inaccount_status" property="inAccountStatus"/> |
|
|
|
|
<result column="payment_date" property="paymentDate"/> |
|
|
|
|
<result column="payment_status" property="paymentStatus"/> |
|
|
|
|
<result column="voucher_number" property="voucherNumber"/> |
|
|
|
@ -84,6 +85,12 @@ |
|
|
|
|
<if test="voucherNumber != null and voucherNumber != ''"> |
|
|
|
|
and t.voucher_number like concat('%',concat(#{voucherNumber},'%')) |
|
|
|
|
</if> |
|
|
|
|
<if test="bzdh != null and bzdh != '' and bzdh != 'null'"> |
|
|
|
|
and t.bzdh = #{bzdh} |
|
|
|
|
</if> |
|
|
|
|
<if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null'"> |
|
|
|
|
and t.inaccount_status = #{inAccountStatus} |
|
|
|
|
</if> |
|
|
|
|
<if test="qszt != null and qszt != '' and qszt != 'null' and qszt != '99'"> |
|
|
|
|
and t.qs_status = #{qszt} |
|
|
|
|
</if> |
|
|
|
@ -182,9 +189,9 @@ |
|
|
|
|
</foreach> |
|
|
|
|
) or (t.dept_id is null or t.dept_id='' or t.dept_id='99')) |
|
|
|
|
</if> |
|
|
|
|
<if test='inAccountStatus!=null and inAccountStatus!="" and inAccountStatus !="99"'> |
|
|
|
|
and t.in_account_status = #{inAccountStatus} |
|
|
|
|
</if> |
|
|
|
|
<!-- <if test='inAccountStatus!=null and inAccountStatus!="" and inAccountStatus !="99"'>--> |
|
|
|
|
<!-- and t.in_account_status = #{inAccountStatus}--> |
|
|
|
|
<!-- </if>--> |
|
|
|
|
<if test="snVoucherNumber != null and snVoucherNumber != '' and snVoucherNumber != 'null' and snVoucherNumber != '99'"> |
|
|
|
|
and t.sn_voucher_number = #{snVoucherNumber} |
|
|
|
|
</if> |
|
|
|
@ -332,6 +339,12 @@ |
|
|
|
|
<if test="voucherNumber != null and voucherNumber != ''"> |
|
|
|
|
and t.voucher_number like concat('%',concat(#{voucherNumber},'%')) |
|
|
|
|
</if> |
|
|
|
|
<if test="bzdh != null and bzdh != '' and bzdh != 'null'"> |
|
|
|
|
and t.bzdh = #{bzdh} |
|
|
|
|
</if> |
|
|
|
|
<if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null'"> |
|
|
|
|
and t.inaccount_status = #{inAccountStatus} |
|
|
|
|
</if> |
|
|
|
|
<if test="qszt != null and qszt != '' and qszt != 'null' "> |
|
|
|
|
and t.qs_status = #{qszt} |
|
|
|
|
</if> |
|
|
|
@ -408,9 +421,9 @@ |
|
|
|
|
</foreach> |
|
|
|
|
) or (t.dept_id is null or t.dept_id='' or t.dept_id='99')) |
|
|
|
|
</if> |
|
|
|
|
<if test='inAccountStatus!=null and inAccountStatus!="" and inAccountStatus !="99"'> |
|
|
|
|
and t.in_account_status = #{inAccountStatus} |
|
|
|
|
</if> |
|
|
|
|
<!-- <if test='inAccountStatus!=null and inAccountStatus!="" and inAccountStatus !="99"'>--> |
|
|
|
|
<!-- and t.in_account_status = #{inAccountStatus}--> |
|
|
|
|
<!-- </if>--> |
|
|
|
|
<if test="eleInvoiceNo!=null and eleInvoiceNo!='' and eleInvoiceNo!='null'"> |
|
|
|
|
and t.ele_invoice_no = #{eleInvoiceNo} |
|
|
|
|
</if> |
|
|
|
|